Canonical contracts for Runtm: manifest schema, types, errors
Project description
runtm-shared
Canonical contracts for Runtm: manifest schema, types, errors, and ID generation.
Contents
types.py- Deployment state machine, enums, API typesmanifest.py- Pydantic models forruntm.yamlvalidationerrors.py- Typed error hierarchy with recovery hintsids.py- Deterministic deployment ID generationstorage/base.py- Abstract storage interface
Usage
from runtm_shared.types import DeploymentState, can_transition
from runtm_shared.manifest import Manifest
from runtm_shared.errors import RuntmError, ManifestValidationError
from runtm_shared.ids import generate_deployment_id
from runtm_shared.storage.base import ArtifactStore
Development
pip install -e ".[dev]"
pytest
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
runtm_shared-0.1.0.tar.gz
(54.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters