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.1.tar.gz (55.6 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.1-py3-none-any.whl (57.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: runtm_shared-0.2.1.tar.gz
  • Upload date:
  • Size: 55.6 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.1.tar.gz
Algorithm Hash digest
SHA256 862d696e58f3755eacb9888c28b6540be58e99b4c9fa02a9a498fffd798d5336
MD5 ce8018776f3510beeba8a3a75eca8885
BLAKE2b-256 018fbacbb28af17960603610def79289c4dff6b4e4fa637ddd9c49f4039af47c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: runtm_shared-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 57.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f731603494ec1e8c0ae29be9f9be068e8dd1d514f3ed310de433202688e4954f
MD5 f0a37e8f72cf8b84ea8696b729a0fc5c
BLAKE2b-256 1c2ed66fa1014a0950f7c808916309ce077d51ba917b76b5fcaeed9233276d28

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