tos library / API / tos.version
tos.version
A module-level string constant holding the current version of the tos library.
Value
tos.version # "1.0.0"
Usage
Print it for diagnostics or guard features against older versions:
import tos
print(f"tos library v{tos.version}")
if tos.version < "1.0.0":
raise RuntimeError("tos >= 1.0.0 required")
Versioning policy
The library follows a loose major.minor.patch scheme. Breaking changes to the public API (anything documented on this wiki) bump the major number.
| Version | Notes |
|---|---|
1.0.0 | Initial public release. Adds appdata, term, is_root, version. |