Skip to main content

strictspec (Python)

Define a schema once in TOML, and generate the full toolchain in your language: validation, versioning, migrations, etc. -- First-class support for Go, Python, and TypeScript.

This package is the Python runtime library and CLI for strictspec.

It holds the runtime (document I/O, diagnostics, tagged values, constraint engine) and the strictspec CLI launcher.

Versioning

This package, the strictspec npm package and the Go module github.com/stricttools/strictspec/go are one release unit: they always carry the same version and are published together, so the runtime always matches the toolchain that generated its code — and the first-run launcher can fetch the binary that pairs with it. A version therefore moves for all three even when only one of them changed.

Development

uv sync
uv run pytest

Release files for strictspec 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for strictspec 0.4.0
File Size Uploaded
strictspec-0.4.0.tar.gz 76.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for strictspec 0.4.0
File Interpreter ABI Platform
strictspec-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 130.3 kB

Release files / strictspec-0.4.0.tar.gz

Download URL strictspec-0.4.0.tar.gz
Size 76.9 kB
Tags Source
SHA-256 checksum
How to use checksums
33acab82d705401645e1cc44789db46fc1ce9d99af07d69c01338e1203952459
BLAKE2b-256 checksum
How to use checksums
b8eaceddc2a2e4ac58a1c8ed3aa06ab5c13aaa189112c686c7218f0fd474917e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.

Transparency log

Release files / strictspec-0.4.0-py3-none-any.whl

Download URL strictspec-0.4.0-py3-none-any.whl
Size 53.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ed05ed98caf71100011376c2e48a183dd59acc1ed65192209701d44fdd1f3c59
BLAKE2b-256 checksum
How to use checksums
a35e60adecc7d2b3d438f7443c323d4c632f6b9a137d3264ec8683cca9850000
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.0

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page