Skip to main content

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 types
  • manifest.py - Pydantic models for runtm.yaml validation
  • errors.py - Typed error hierarchy with recovery hints
  • ids.py - Deterministic deployment ID generation
  • storage/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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

runtm_shared-0.1.0-py3-none-any.whl (55.9 kB view details)

Uploaded Python 3

File details

Details for the file runtm_shared-0.1.0.tar.gz.

File metadata

  • Download URL: runtm_shared-0.1.0.tar.gz
  • Upload date:
  • Size: 54.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for runtm_shared-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a44b2e769514de292b17c43279ee851f4a151b0e132557459bc2796e42a23e6e
MD5 a6291f7c18f281cad88591c2d896ced9
BLAKE2b-256 c8b3caf6c16f6c5eb849d294f80b65c4c216f1fff5a344c8c4a52083d7608229

See more details on using hashes here.

File details

Details for the file runtm_shared-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: runtm_shared-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 55.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for runtm_shared-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 013e47c1f2affb7552af39b9e022d070a0bc1c2723c6df954762cd99b4fcedb2
MD5 a632c9d6f5dacc829d78a21385d44f3f
BLAKE2b-256 cd2c73890c0ebdc8c5fe5eb4e118f2db5907f5121eb7c9ebfd42fbecfc121774

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page