api-parity
Language-agnostic differ for the api-parity project. Reads two JSON envelopes (a reference and a port), left-joins them on path, and renders a coverage report.
See the project README for end-to-end pipelines and the cross-language story.
Install
pip install api-parity
Usage
api-parity compare ref.json port.json -o report.md
# or:
api-parity compare ref.json port.json --format=json -o report.json
ref.json and port.json are produced by language-specific plugins:
api-parity-py— Python plugin (walker + decorators).api-parity-rs— Rust plugin (attribute macros + walker).
The report groups members under their parent class, surfaces per-class coverage percentages, and lists stale port entries — paths the port claims but the reference doesn't have (typos, removed APIs, drift).
Wire format
Both envelopes follow SCHEMA.md. The differ doesn't care which language produced them, only that path is a shared join key. Adding a new language means writing a plugin, not patching the differ.
Release files for api-parity 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| api_parity-0.0.3.tar.gz | 7.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| api_parity-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.4 kB
Release files / api_parity-0.0.3.tar.gz
| Download URL | api_parity-0.0.3.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
398dc70339a9c3a26657b0b92ddc37dd38a700cf00a4585227239b9cb26bc3ce
|
|
BLAKE2b-256 checksum How to use checksums |
90e05fea9536d02879f4b6d365be13af96340cef95674aa108568636206ca306
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jun 8, 2026.
Transparency logRelease files / api_parity-0.0.3-py3-none-any.whl
| Download URL | api_parity-0.0.3-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2920e41853eb2c24edf02bcc651175860900c03966b18f6b8ea987d98a0c5d3e
|
|
BLAKE2b-256 checksum How to use checksums |
f7d942b795d24f4930c626cdc93be444d632d445afab201052319862c083dd71
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jun 8, 2026.
Transparency log