Skip to main content

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; only rounding residue of a zero is written as 0.0 (ADR 0028). neighbor_joining(matrix, labels) is available for small in-memory matrices.

Licensed under Apache-2.0.

Metadata

Release files for damicore-tree-builder 0.7.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for damicore-tree-builder 0.7.1
File Size Uploaded Provenance Actions
damicore_tree_builder-0.7.1.tar.gz 16.3 kB With provenance Details for damicore_tree_builder-0.7.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for damicore-tree-builder 0.7.1
File Interpreter ABI Platform Actions
damicore_tree_builder-0.7.1-py3-none-any.whl Python 3 none any Details for damicore_tree_builder-0.7.1-py3-none-any.whl

Total release size: 33.6 kB

Release files / damicore_tree_builder-0.7.1.tar.gz

Download URL damicore_tree_builder-0.7.1.tar.gz
Size 16.3 kB
Tags Source
SHA-256 checksum
How to use checksums
9f7fa45cf52c0e6748444c3c25089dd4e47795c8c1ae616bdf76c3f68842c340
BLAKE2b-256 checksum
How to use checksums
fcb0739c8ea6b51ed28ce40f8f70b1c43dd4cc21451b5b506d1b07ac28dc3443
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 27, 2026.

Transparency log

Release files / damicore_tree_builder-0.7.1-py3-none-any.whl

Download URL damicore_tree_builder-0.7.1-py3-none-any.whl
Size 17.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
352fd61af66df3e2bc5d88d8ced811cf55456ed3fc100359269404a8c8a2cbba
BLAKE2b-256 checksum
How to use checksums
b61f678e29b0a2fc6cd0133d0f236c68c3f06224dcd0e3807103bfa6cd113c39
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 27, 2026.

Transparency log

Security for damicore-tree-builder 0.7.1

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.

Select from 2 files

Attestation for damicore_tree_builder-0.7.1.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 27, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page