telys version
Reference for telys version — how it prints the installed SDK version and the on-disk format version, and how to read each part.
Print the installed Telys version and the on-disk format version. Use it to confirm which build you are running and whether a collection from another install is format-compatible.
Synopsis
telys versionTakes no arguments; exits 0 whenever the SDK is importable.
Output
telys versiontelys 0.1.15 (format v1)The line has two parts:
telys <ver>
telys.__version__
The installed distribution version, read from package metadata. This release reports 0.1.15.
(format v<N>)
telys.FORMAT_VERSION
The on-disk format contract for collections. Currently 1.
Both values are importable from the SDK:
from telys import __version__, FORMAT_VERSION
print(__version__) # "0.1.15"
print(FORMAT_VERSION) # 1Running from a source checkout
__version__ reads the installed distribution's metadata. In a source tree that was never installed as a wheel, there is no metadata to read and the version falls back to a sentinel:
Exit codes
0
Version printed.
2
Usage error (an unexpected argument).
See also
Upgrade Telys — moving between versions.
Verify your install — confirm the runtime as well as the SDK.
telys runtime — check the installed runtime, not just the SDK.
Last updated
Was this helpful?