pyd3js-chord
Python port of d3-chord.
Tracked version: see upstream_lock.json.
What you get
- 100% upstream export parity (for the pinned
d3-chord@3.0.1): the compatibility matrix below covers every upstream export. - 100% Python test coverage for
pyd3js_chord(run the coverage command below). - 100% upstream
d3-chordJS tests vendored and passing: the upstream Mocha suite underpackages/pyd3js-chord/upstream/d3-chord/test/is run via a pytest gate (-m upstream). - Oracle parity checks (where feasible): representative tests compare results to upstream via the repo’s Node oracle (
-m oracle).
Install
From PyPI:
pip install pyd3js-chord
This repo is a uv workspace monorepo. For local development:
uv sync --group dev
Compatibility matrix
Pinned upstream inventory: docs/UPSTREAM_API.md (from d3-chord@3.0.1).
Legend:
[oracle]: implemented and has oracle parity tests for representative cases.[unit + upstream-js]: implemented and covered by Python unit tests plus the vendored upstream JS suite gate.
Upstream exports (d3-chord@3.0.1)
chord— [oracle]chordTranspose— [oracle]chordDirected— [oracle]ribbon— [oracle]ribbonArrow— [oracle]
Development
uv run pytest packages/pyd3js-chord/package_tests
uv run ruff format packages/pyd3js-chord
uv run ruff check packages/pyd3js-chord
uv run ty check packages/pyd3js-chord/src
Coverage (Python)
uv run pytest packages/pyd3js-chord/package_tests --cov=pyd3js_chord --cov-report=term-missing
Oracle parity tests (Node)
cd tools/oracle && npm ci
uv run pytest -m oracle packages/pyd3js-chord/package_tests
Upstream d3-chord test suite (vendored)
uv run python scripts/vendor_upstream.py
cd packages/pyd3js-chord/upstream/d3-chord && npm install --legacy-peer-deps
uv run pytest -m upstream packages/pyd3js-chord/package_tests
Documentation
- Upstream export inventory:
docs/UPSTREAM_API.md
Metadata
Release files for pyd3js-chord 0.1.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 |
|---|---|---|---|---|
| pyd3js_chord-0.1.0.tar.gz | 10.4 kB | Without provenance | Details for pyd3js_chord-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyd3js_chord-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for pyd3js_chord-0.1.0-py3-none-any.whl |
Total release size: 17.9 kB
Release files / pyd3js_chord-0.1.0.tar.gz
| Download URL | pyd3js_chord-0.1.0.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
298435a733be4780c83bf9490cffb397a8883cccab74bcbd9a3648a9c1a9ecc0
|
|
BLAKE2b-256 checksum How to use checksums |
66aaadd7c1cd6b8553d1e815480b055b59ed82a8ad8ee027b30930ac8ebc610d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / pyd3js_chord-0.1.0-py3-none-any.whl
| Download URL | pyd3js_chord-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3717df14a25751efd3f31d7b75cbad0d1059dfba24b02104ad7fe4358d006105
|
|
BLAKE2b-256 checksum How to use checksums |
2e2a1c0ef6e7ad7e834738f5942db8e9e2e089aaf1b800af8486ab2ac807258e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Security for pyd3js-chord 0.1.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.