Skip to main content

Canonical wire formats for the TTR-P plan pipeline (plan.v1 / transdsl.v1 / dfdsl.v1)

Project description

ttr-plan-proto (Python)

Pre-generated Python message classes for the TTR-P plan pipeline wire formats: plan.v1, transdsl.v1, dfdsl.v1. Importable at their canonical module paths, e.g. from org.tatrman.plan.v1 import plan_pb2.

Canonical source of truth: the .proto files in the sibling Kotlin module ../../kotlin/ttr-plan-proto/src/main/proto/. tatrman owns the wire format once (decision TR-3); this wheel and the org.tatrman:ttr-plan-proto Maven jar are the per-language published artifacts. Formerly generated inside kantheon shared/proto; transferred at f2e2efb (2026-07-06). See docs/ttr-translator/.

Build

Pure-Python wheel (py3-none-any). The build hook (hatch_build.py) runs grpcio-tools' bundled protoc over the sibling .proto files — no JVM needed. The generated src/org/** tree is gitignored and regenerated on every build.

uv build --wheel                 # or: pipx run build --wheel
uv run --with protobuf --with pytest pytest tests/

Released to PyPI via python-plan/v<x.y.z> (trusted publishing); versioned in lockstep with the Maven kotlin-translator/v* pair by convention.

Governance

Proto changes are driven by kantheon runtime needs (typically PipelineContext); they arrive as PRs to this repo, which cuts a prompt lockstep release. Field numbers/types are append-only within v1 (see docs/ttr-translator/architecture/contracts.md §2).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

ttr_plan_proto-0.9.0-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file ttr_plan_proto-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: ttr_plan_proto-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ttr_plan_proto-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 330cf8da644c00f4ffac4d7b2d9f9ad7ea98eda27d8a5abf95de6d4ddae93e7d
MD5 867d7441872c4d1a84cc6aa628f096ee
BLAKE2b-256 7e67dbc615d4e7bc447d9ccbdcd42b051ac083e9cc2930d4218e44a49294f70d

See more details on using hashes here.

Provenance

The following attestation bundles were made for ttr_plan_proto-0.9.0-py3-none-any.whl:

Publisher: publish-python.yml on Collite/tatrman

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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