Metadata-Version: 2.4
Name: signalsafe-tree-spec-python
Version: 0.1.0
Summary: SignalSafe TreeSpec wire contract for Python: models, parsing, lint, and patch helpers.
Author: Josh Martin
License: UNLICENSED
Project-URL: Homepage, https://github.com/SignalSafeSoftware/tree-spec-python
Project-URL: Repository, https://github.com/SignalSafeSoftware/tree-spec-python
Project-URL: Issues, https://github.com/SignalSafeSoftware/tree-spec-python/issues
Requires-Python: <4.0,>=3.12
Description-Content-Type: text/markdown
Requires-Dist: pydantic<3,>=2.11.3
Provides-Extra: dev
Requires-Dist: pytest>=8; extra == "dev"
Requires-Dist: build>=1.2; extra == "dev"
Requires-Dist: twine>=6.1; extra == "dev"

# tree_spec_python (Python)

**Core Python** TreeSpec package (backend only). Wire contract: models, parse/build, lint, patch, constants. PyPI distribution **`signalsafe-tree-spec-python`**; import **`tree_spec_python`**.

**TypeScript core (frontend):** `packages/tree-spec` (`@signalsafe/tree-spec`) — parallel core implementation for the UI. Backend does not import it.

**Project wrapper (backend):** `libs/vega/common/tree_spec` — SignalSafe-specific validation and training heuristics (`training_heuristics.py`) on top of this core.

**Shared fixtures and schema:** `contracts/tree-spec/` — see `contracts/tree-spec/README.md`.

**Tests / boundaries:** `libs/tree_spec_python/tests/` (also run via `make checklist-check-policy` and `make package area=python-tree-spec type=verify`).

**Standalone GitHub repo:** [SignalSafeSoftware/tree-spec-python](https://github.com/SignalSafeSoftware/tree-spec-python) — sync with `bash scripts/push-standalone-python-package.sh tree-spec-python` (see `RELEASING.md`).

**Build wheel:** `make package area=python-tree-spec type=wheel`
