SealSkin
Server Reference

version

Product version.

Reads from the repository-level VERSION file when running from source, or from the VERSION file bundled inside the app package when installed as a wheel.

attribute__version__
= get_version()
funcrepo_root() -> str

Return the absolute path of the repository root.

Returns

str

The directory that contains VERSION, server/ and client/.

func_read_file(path) -> str | None

Return the trimmed contents of path, or None on failure.

parampathstr

Returns

str | None
funcget_version() -> str

Return the product version string.

Resolution order:

  1. VERSION file next to the package directory (wheel layout).
  2. VERSION file at the repository root (source layout).
  3. "0.0.0" as a fallback.

Returns

str