TypePact CLI
typepact-cli distributes the Rust typepact command through Python packaging.
Installing typepact installs this matching CLI package automatically. Version
0.1.0 is currently published; 0.2.0 is being prepared.
Install and inspect
uv tool install typepact-cli==0.1.0
typepact inspect-contracts your_file.py
The published 0.1.0 command writes JSON describing resource and access declarations.
Use --root src with explicit source files to resolve supported local imports.
Exit 0 means complete inspection without errors, 1 means declaration errors or
incomplete coverage, and 2 means invocation or input failure.
Lifecycle checking preview
The source preview for the upcoming 0.2.0 release includes typepact check.
Build it from the repository root with Rust 1.96+:
git clone https://github.com/eddiethedean/typepact.git
cd typepact
git checkout cf2fb90989d3ed01b7ca9edb56cc5ff8bd7122c4
cargo run --locked -- check --root examples
For a reproducible preview, use the pinned commit in the
availability guide.
The lifecycle example intentionally reports a use after close and exits 1.
Checking scans Python files below its root, reports readable diagnostics by default,
and accepts --json. Possible findings and coverage warnings can accompany exit 0.
The published 0.1.0 CLI does not include this command. Release gates for 0.2.0
remain pending.
Requirements and reference
Platform wheels include the executable; source installs require Rust 1.96+ and a linker. The analyzer reads Python source without importing or executing it.
The release matrix covers Linux glibc/musl, macOS and Windows on x86-64 and ARM64. Python 3.11+ is required for installation. The Rust crate remains available on crates.io.
See the installation guide, command reference, and lifecycle tutorial. The source for all guides is in the repository docs directory.
Metadata
Release files for typepact-cli 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| typepact_cli-0.2.0.tar.gz | 97.7 kB | With provenance | Details for typepact_cli-0.2.0.tar.gz |
Built distributions (wheels)
Total release size: 12.8 MB
Release files / typepact_cli-0.2.0.tar.gz
| Download URL | typepact_cli-0.2.0.tar.gz |
|---|---|
| Size | 97.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5811c38569d19635d2620c462e33e7ab62755474a60285f5505ad8ff9241a826
|
|
BLAKE2b-256 checksum How to use checksums |
60cd4fe26446945ebc4e936c8450f50663c6b9f0cd2881594805c3f7aa4ac58d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 1, 2026.
Transparency logRelease files / typepact_cli-0.2.0-py3-none-win_arm64.whl
| Download URL | typepact_cli-0.2.0-py3-none-win_arm64.whl |
|---|---|
| Size | 1.5 MB |
| Tags | Python 3 Windows ARM64 |
|
SHA-256 checksum How to use checksums |
cf9294a0c4943c605c4afde8bf0d809cafec0e2d372dcd65f3ae995f935a5c81
|
|
BLAKE2b-256 checksum How to use checksums |
641fc84d7ca69b2ec2fb2bcb7f53f83f3ff7eb6cb1e515a4e675b77bf698e9bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 1, 2026.
Transparency logRelease files / typepact_cli-0.2.0-py3-none-win_amd64.whl
| Download URL | typepact_cli-0.2.0-py3-none-win_amd64.whl |
|---|---|
| Size | 1.5 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
4162a9567f6289dddaf556ea70be37a6f27b5e5c105fb079c20f2bf8507cc3af
|
|
BLAKE2b-256 checksum How to use checksums |
f5b4cfed7455eb68a03c2a08dac0e6ad750da98e76fd672c73e8ada5e44339d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 1, 2026.
Transparency logRelease files / typepact_cli-0.2.0-py3-none-musllinux_1_2_x86_64.whl
| Download URL | typepact_cli-0.2.0-py3-none-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | Linux musl 1.2+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
52ff518be9a561ded317dc6d51fd4c72cc13a3ff02e9a97f59bc679dad4329a6
|
|
BLAKE2b-256 checksum How to use checksums |
10e5ea22c83f2d4291022626f0543ca7b1594be892c3f9d9969092dac3c915d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 1, 2026.
Transparency logRelease files / typepact_cli-0.2.0-py3-none-musllinux_1_2_aarch64.whl
| Download URL | typepact_cli-0.2.0-py3-none-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 1.5 MB |
| Tags | Linux musl 1.2+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
dd9b14114b90c644ee75573f6616c7cbb34bef417a18f82ae09c0d699b175027
|
|
BLAKE2b-256 checksum How to use checksums |
f417d09412af8e94d0aa7238ed3a083905e96124f094bb511b01e8df4e7dd149
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 1, 2026.
Transparency logRelease files / typepact_cli-0.2.0-py3-none-manylinux_2_28_aarch64.whl
| Download URL | typepact_cli-0.2.0-py3-none-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 1.5 MB |
| Tags | Linux glibc 2.28+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
df9cedd7d9e89ae2adf7fdc0f4b4825896831fb25c4f420345bafed94f40a8a3
|
|
BLAKE2b-256 checksum How to use checksums |
3ef3dc156e21ca6a07ea2e6b8ea69332a05c1cceeb7f45200f34c19bfef5b40b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 1, 2026.
Transparency logRelease files / typepact_cli-0.2.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | typepact_cli-0.2.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
38d106aa89051b43f52e9b8f965050f117d8bb4061e85e9753196feff4645e24
|
|
BLAKE2b-256 checksum How to use checksums |
1d88bf08bb810071538a347a98908fcfe3adcfc6f43177bcd2d16005d02ef8a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 1, 2026.
Transparency logRelease files / typepact_cli-0.2.0-py3-none-macosx_11_0_arm64.whl
| Download URL | typepact_cli-0.2.0-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
36da02ed61cc55586c4617a72e296ef102e4e7c24c47e427f84137f929cf4b23
|
|
BLAKE2b-256 checksum How to use checksums |
36d9b22189a44a1cf2c793f2f871c16bf316ec1e4e072be4bbca4d3ba9f9b0b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 1, 2026.
Transparency logRelease files / typepact_cli-0.2.0-py3-none-macosx_10_13_x86_64.whl
| Download URL | typepact_cli-0.2.0-py3-none-macosx_10_13_x86_64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | Python 3 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
93e2e290634a05ad1c4d1ead1a91402d5e2cab9f19e249a05bb1e2b1f3955527
|
|
BLAKE2b-256 checksum How to use checksums |
f635f2fe634eec103c3f1e82752bfcf251781e76f5169d6cd1b3fd7f990b13e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 1, 2026.
Transparency logSecurity for typepact-cli 0.2.0
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.
Full provenance
All 9 files in this release have been uploaded with provenance metadata.
Attestation for typepact_cli-0.2.0.tar.gz
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 Nov 1, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.