damicore-tree-builder
damicore-tree-builder builds a deterministic Neighbor Joining tree from a
distance matrix and its labels. It is the third stage of the DAMICORE pipeline;
most users install the aggregate damicore distribution, which runs all four
stages end to end. Install this package alone to build trees without the rest of
the pipeline.
pip install damicore-tree-builder
Python
from damicore_tree_builder import build_tree
result = build_tree("run/distance.npy", "run/labels.json", "run")
distance.npy and labels.json are produced by the sibling damicore-distance
distribution; the call writes tree.json plus Newick, and tree.json is the
input the sibling damicore-clusterizer distribution consumes. The path API
copies into a temporary memory map, reuses slots, evaluates Q pairwise without
materializing it, and preserves negative branches. neighbor_joining(matrix, labels) is available for small in-memory matrices.
Links
- Repository: https://github.com/delbem-research/damicore
- Issues: https://github.com/delbem-research/damicore/issues
- Documentation: https://github.com/delbem-research/damicore/blob/main/docs/quickstart.md
Licensed under Apache-2.0.
Metadata
Release files for damicore-tree-builder 0.5.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 |
|---|---|---|---|---|
| damicore_tree_builder-0.5.0.tar.gz | 15.7 kB | With provenance | Details for damicore_tree_builder-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| damicore_tree_builder-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for damicore_tree_builder-0.5.0-py3-none-any.whl |
Total release size: 32.5 kB
Release files / damicore_tree_builder-0.5.0.tar.gz
| Download URL | damicore_tree_builder-0.5.0.tar.gz |
|---|---|
| Size | 15.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae256ed08a3f2cc3c82814a5fa1a6e7e679849b12a9f51e06180c7a9702d42a3
|
|
BLAKE2b-256 checksum How to use checksums |
eb8a1d2df066d77098df37b8165118410469fcd145f9c7fbb0b3fde1c044c6ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 19, 2026.
Transparency logRelease files / damicore_tree_builder-0.5.0-py3-none-any.whl
| Download URL | damicore_tree_builder-0.5.0-py3-none-any.whl |
|---|---|
| Size | 16.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fd186039b6d085776d87ed915014646c50a8113877012e4b918fdea1b6e190ed
|
|
BLAKE2b-256 checksum How to use checksums |
392514e06e625467b100e9f34101122ece6a5b88efacc0f83c23dcf429656bff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 19, 2026.
Transparency logSecurity for damicore-tree-builder 0.5.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for damicore_tree_builder-0.5.0.tar.gz
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 Nov 19, 2026.
Transparency logA 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.