codepact-cli 0.3.0__py3-none-manylinux_2_28_aarch64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
@@ -0,0 +1,65 @@
1
+ Metadata-Version: 2.4
2
+ Name: codepact-cli
3
+ Version: 0.3.0
4
+ Summary: Rust-powered CodePact contract inspector
5
+ Author: CodePact contributors
6
+ License-Expression: MIT
7
+ Requires-Python: >=3.11
8
+ Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
9
+
10
+ # CodePact CLI
11
+
12
+ `codepact-cli` distributes the Rust `codepact` command through Python packaging.
13
+ Installing `codepact` installs this matching CLI package automatically. The
14
+ CodePact 0.3.0 candidate is being qualified; neither new distribution has been
15
+ published. The predecessor TypePact 0.2.0 release used `typepact-cli` and the
16
+ `typepact` command.
17
+
18
+ ## Install and inspect
19
+
20
+ After the maintainer qualifies and publishes 0.3.0, install the command with
21
+ `uv tool install codepact-cli==0.3.0`. To run the candidate now, clone this
22
+ repository and use `uv sync --locked` followed by `uv run codepact`.
23
+
24
+ The published 0.1.0 command writes JSON describing resource and access declarations.
25
+ Use `--root src` with explicit source files to resolve supported local imports.
26
+ Exit `0` means complete inspection without errors, `1` means declaration errors or
27
+ incomplete coverage, and `2` means invocation or input failure.
28
+
29
+ ## Lifecycle checking preview
30
+
31
+ The unreleased 0.3.0 candidate includes expanded cleanup
32
+ checking through `codepact check`. Build it from the repository root with Rust
33
+ 1.96+:
34
+
35
+ ```sh
36
+ git clone https://github.com/eddiethedean/codepact.git
37
+ cd codepact
38
+ git checkout main
39
+ cargo run --locked -- check --root examples
40
+ ```
41
+
42
+ For a reproducible preview, use the candidate commit in the
43
+ [0.3.0 release evidence](https://github.com/eddiethedean/codepact/blob/main/docs/releases/0.3.0-evidence.md).
44
+ The lifecycle example intentionally reports a use after close and exits `1`.
45
+ Checking scans Python files below its root, reports readable diagnostics by default,
46
+ and accepts `--json`. Possible findings and coverage warnings can accompany exit `0`.
47
+ The historical TypePact 0.2.0 CLI does not include the CodePact 0.3 cleanup and
48
+ cancellation behavior. The 0.3 candidate's pre-tag qualification is recorded in
49
+ the [release evidence](../docs/releases/0.3.0-evidence.md); it is not published yet.
50
+
51
+ ## Requirements and reference
52
+
53
+ Platform wheels include the executable; source installs require Rust 1.96+ and a linker.
54
+ The analyzer reads Python source without importing or executing it.
55
+
56
+ The release matrix covers Linux glibc/musl, macOS and Windows on x86-64 and ARM64.
57
+ Python 3.11+ is required for installation. The CodePact `codepact` Rust crate
58
+ has not been published; the older TypePact crate belongs to the historical
59
+ 0.1.0 and 0.2.0 releases.
60
+
61
+ See the [installation guide](https://typepact.readthedocs.io/en/latest/install.html),
62
+ [command reference](https://typepact.readthedocs.io/en/latest/cli.html), and
63
+ [lifecycle tutorial](https://typepact.readthedocs.io/en/latest/lifecycle.html).
64
+ The source for all guides is in the [repository docs directory](https://github.com/eddiethedean/codepact/tree/main/docs).
65
+
@@ -0,0 +1,4 @@
1
+ codepact_cli-0.3.0.data/scripts/codepact,sha256=of16OvFP9pLeQqNS6oPj2V98Z-Gr4AZPdxvl2EbAa8o,3934640
2
+ codepact_cli-0.3.0.dist-info/METADATA,sha256=TOAh6lAOY91kEFaEUbydiMBEGJd-o4Ne9yJzKywbefc,2961
3
+ codepact_cli-0.3.0.dist-info/WHEEL,sha256=kJJhO9EkjrkoNrnH2NJcUvbMMiK3G2zwKQY2u_rS5H0,106
4
+ codepact_cli-0.3.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: maturin (1.9.6)
3
+ Root-Is-Purelib: false
4
+ Tag: py3-none-manylinux_2_28_aarch64