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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ttr_plan_proto-0.9.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 10dd1a8c37613bac8d7f912f3b70fd15d74c8274817a4902fcca311f290a8bb5
MD5 2978ccb3666d91c4bc1c0122bcb3ac5a
BLAKE2b-256 1e2be7d713faf75c76c100db1d1eaa06652fb4b174ce7a04afe483c7b40d27f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for ttr_plan_proto-0.9.7-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