Skip to main content

CodePact CLI

codepact-cli distributes the Rust codepact command through Python packaging. Installing codepact installs this matching CLI package automatically. The CodePact 0.3.0 candidate is being qualified; neither new distribution has been published. The predecessor TypePact 0.2.0 release used typepact-cli and the typepact command.

Install and inspect

After the maintainer qualifies and publishes 0.3.0, install the command with uv tool install codepact-cli==0.3.0. To run the candidate now, clone this repository and use uv sync --locked followed by uv run codepact.

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 unreleased 0.3.0 candidate includes expanded cleanup checking through codepact check. Build it from the repository root with Rust 1.96+:

git clone https://github.com/eddiethedean/codepact.git
cd codepact
git checkout main
cargo run --locked -- check --root examples

For a reproducible preview, use the candidate commit in the 0.3.0 release evidence. 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 historical TypePact 0.2.0 CLI does not include the CodePact 0.3 cleanup and cancellation behavior. The 0.3 candidate's pre-tag qualification is recorded in the release evidence; it is not published yet.

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 CodePact codepact Rust crate has not been published; the older TypePact crate belongs to the historical 0.1.0 and 0.2.0 releases.

See the installation guide, command reference, and lifecycle tutorial. The source for all guides is in the repository docs directory.

Metadata

Release files for codepact-cli 0.3.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 codepact-cli 0.3.0
File Size Uploaded Provenance Actions
codepact_cli-0.3.0.tar.gz 173.1 kB Without provenance Details for codepact_cli-0.3.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for codepact-cli 0.3.0
File Actions
codepact_cli-0.3.0-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for codepact_cli-0.3.0-py3-none-win_arm64.whl
codepact_cli-0.3.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for codepact_cli-0.3.0-py3-none-win_amd64.whl
codepact_cli-0.3.0-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details for codepact_cli-0.3.0-py3-none-musllinux_1_2_x86_64.whl
codepact_cli-0.3.0-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details for codepact_cli-0.3.0-py3-none-musllinux_1_2_aarch64.whl
codepact_cli-0.3.0-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details for codepact_cli-0.3.0-py3-none-manylinux_2_28_aarch64.whl
codepact_cli-0.3.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for codepact_cli-0.3.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
codepact_cli-0.3.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for codepact_cli-0.3.0-py3-none-macosx_11_0_arm64.whl
codepact_cli-0.3.0-py3-none-macosx_10_13_x86_64.whl Python 3 none macOS 10.13+ x86-64 Details for codepact_cli-0.3.0-py3-none-macosx_10_13_x86_64.whl

Total release size: 14.7 MB

Release files / codepact_cli-0.3.0.tar.gz

Download URL codepact_cli-0.3.0.tar.gz
Size 173.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5e51be6e4a6e790fbc51f6cb54d42f71bd15303352f959170e309e2684aa4c45
BLAKE2b-256 checksum
How to use checksums
e9f5e0442aafc5b46f37107829a95a147ca4ad34c8297623b9e01077eddf3182
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / codepact_cli-0.3.0-py3-none-win_arm64.whl

Download URL codepact_cli-0.3.0-py3-none-win_arm64.whl
Size 1.7 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
115b08c723e5e7016092cb90993520c1adab6125e3054d19a8fb5ad52032a97f
BLAKE2b-256 checksum
How to use checksums
c78fefca947305e7d178a45a0465518fd495a259917106406d44e207424d3189
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / codepact_cli-0.3.0-py3-none-win_amd64.whl

Download URL codepact_cli-0.3.0-py3-none-win_amd64.whl
Size 1.8 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
66c8f619ac55539dfd11029f9c36e08f89fd389ebe85df5b2fd9f37f91f3619b
BLAKE2b-256 checksum
How to use checksums
1f4817144b342271ac0e4e8fe0d541be0193b3bad50b494b90daa24a4a57ed29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / codepact_cli-0.3.0-py3-none-musllinux_1_2_x86_64.whl

Download URL codepact_cli-0.3.0-py3-none-musllinux_1_2_x86_64.whl
Size 1.9 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
6f2783408eaeefb4f26d0b56b3642e57f73c71e06c5e01935cadcb5e33b7567f
BLAKE2b-256 checksum
How to use checksums
92a492eca9e52e09d38de62cf3c9fcdad9ba889efe3110c1ee3faa7993a0bb91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / codepact_cli-0.3.0-py3-none-musllinux_1_2_aarch64.whl

Download URL codepact_cli-0.3.0-py3-none-musllinux_1_2_aarch64.whl
Size 1.8 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
91e1b0b8b15d834b064e82470b2afe6b85b497fb3cf533473e28581063548bf8
BLAKE2b-256 checksum
How to use checksums
9661e301a0bda63d3e004a6b883a86e5974a2718f8b9f58ea6896d30c79857f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / codepact_cli-0.3.0-py3-none-manylinux_2_28_aarch64.whl

Download URL codepact_cli-0.3.0-py3-none-manylinux_2_28_aarch64.whl
Size 1.8 MB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
33bc23ce8b3f1e80583fe7f5f0480184cad3078812e442d2da03be17040e8de7
BLAKE2b-256 checksum
How to use checksums
6984ae801b02c14c06738537a5b40a67e1bb7c6b1ab4abc7843e09ac7724ba56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / codepact_cli-0.3.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL codepact_cli-0.3.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.9 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
cdcd995f3553ffa6c3df2e109383e98bd13d364fde9f05d0bbe86dd2cb4f558d
BLAKE2b-256 checksum
How to use checksums
c9584c7349b412048965c1442c4d0ce74b739db165add9c90ee7f58afe456d0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / codepact_cli-0.3.0-py3-none-macosx_11_0_arm64.whl

Download URL codepact_cli-0.3.0-py3-none-macosx_11_0_arm64.whl
Size 1.9 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5704430ee59651b60f3776e6040aa197f9fcb8599ac9a6bf1edcbb501277b4d3
BLAKE2b-256 checksum
How to use checksums
2929d6f33c9516bf19df589d390599403547be60b4a057d3811faa5286697f11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / codepact_cli-0.3.0-py3-none-macosx_10_13_x86_64.whl

Download URL codepact_cli-0.3.0-py3-none-macosx_10_13_x86_64.whl
Size 1.9 MB
Tags Python 3 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
edd451868e208bd145d0cb51ee2753504e2570e2a7669897b7febf113da8dde9
BLAKE2b-256 checksum
How to use checksums
6eac60a8da3ac9f413134ced1189a5e3786d2f9fc6502ddc2919e58d1906a310
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for codepact-cli 0.3.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

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