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.2.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.2.0-py3-none-any.whl (55.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: runtm_shared-0.2.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.2.0.tar.gz
Algorithm Hash digest
SHA256 27caf2bc8dfbbaa9c8743b3319d0dad43ac2b5cc60a9446328e6e90f5047c9ff
MD5 1f96d42fb5b2f51332e7ff41553c035c
BLAKE2b-256 67063d165ecd5a417714f051de463201a74b724189b88801f9173bf8ccf74c73

See more details on using hashes here.

File details

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

File metadata

  • Download URL: runtm_shared-0.2.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 367d7dd130c9b30b9d56516fa47371dea110487d7cfc50a5532eac7169cf979d
MD5 4447ecd6d272ecd4204a02e15a14fe9f
BLAKE2b-256 96750284d893dadd0940ce4b49765d4fc4f24458eb63f75cd69e2eb613403e1d

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