pyd3js-contour
Python port of d3-contour.
Release notes: docs/CHANGELOG.md.
Tracked version: see upstream_lock.json.
Public API
Matches d3-contour@4.0.2 named exports (contours, contourDensity only). Method-level surface is documented in docs/UPSTREAM_API.md.
from pyd3js_contour import contourDensity, contours
c = contours().size([10, 10]).thresholds([0.5])
polys = c([0.0] * 100)
d = contourDensity().thresholds([0.01, 0.05])
density_polys = d([[50.0, 50.0]])
Compatibility matrix
Upstream export inventory (docs/UPSTREAM_API.md):
contours— [oracle]contourDensity— [oracle]
Development
From the repo root:
uv sync --group dev
uv run pytest packages/pyd3js-contour/package_tests --cov=pyd3js_contour --cov-report=term-missing
Optional upstream JS gate (vendored d3-contour + npm install under packages/pyd3js-contour/upstream/d3-contour):
uv run pytest packages/pyd3js-contour/package_tests -m upstream
The npm package name on the registry is d3-contour; this package mirrors that API in Python.
Metadata
Release files for pyd3js-contour 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_contour-0.1.0.tar.gz | 14.5 kB | Without provenance | Details for pyd3js_contour-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyd3js_contour-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for pyd3js_contour-0.1.0-py3-none-any.whl |
Total release size: 25.6 kB
Release files / pyd3js_contour-0.1.0.tar.gz
| Download URL | pyd3js_contour-0.1.0.tar.gz |
|---|---|
| Size | 14.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2389d8d1f1be8d2b0345a2eb8fca23dfd527323d8800f655344b27e2aaeb24f5
|
|
BLAKE2b-256 checksum How to use checksums |
d6886fae6c22f23102ef653d4f2e2652f510570ff94b69a747aff48eb163db6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / pyd3js_contour-0.1.0-py3-none-any.whl
| Download URL | pyd3js_contour-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
48f56dd505d07c6df54b811fa83b19234cf9cfc142118b790b6cc4a5d260aad4
|
|
BLAKE2b-256 checksum How to use checksums |
b60c4c8de082b0791985bf8090de48f898949de5774d1c194487f040dfc59507
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Security for pyd3js-contour 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.