topmark.version package index¶
topmark / version
TopMark version domain helpers.
This package provides a small, typed surface for working with TopMark's version string at runtime, including optional conversion from the subset of PEP 440 that TopMark emits to a SemVer-ish representation.
Public surface:
- compute_version_info: build a VersionInfo payload (optionally SemVer)
- convert_pep440_to_semver: conversion helper used by compute_version_info
- VersionInfo, VersionFormatLiteral: payload + types
Immediate children in this package¶
- topmark.version.convert
- Convert the subset of PEP 440 versions TopMark emits into SemVer-ish output.
- topmark.version.machine
- Machine-output helpers for version commands.
- topmark.version.runtime
- Compute TopMark
VersionInfoand optionally convert to SemVer-ish output. - topmark.version.types
- Types for TopMark version reporting.