damicore-clusterizer
damicore-clusterizer clusters the unrooted form of a validated DAMICORE tree
with igraph FastGreedy and projects the resulting communities onto leaves. The
root is left out and its two edges become one joining its children, their
lengths summed, so every other node is a vertex. It is the
fourth and final 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 cluster trees without the rest of the pipeline.
pip install damicore-clusterizer
Python
from damicore_clusterizer import ClusterConfig, cluster_tree
result = cluster_tree("run/tree.json", "run", config=ClusterConfig(num_clusters=None))
tree.json is produced by the sibling damicore-tree-builder distribution; the
call writes cluster membership as membership.csv and clusters.json. Edge
weights are branch-length reciprocals, shifted and scaled so the smallest is
one, which makes a negative branch the weakest edge rather than the strongest;
output cluster IDs and leaf ordering are deterministic.
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-clusterizer 0.4.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_clusterizer-0.4.0.tar.gz | 14.2 kB | With provenance | Details for damicore_clusterizer-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| damicore_clusterizer-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for damicore_clusterizer-0.4.0-py3-none-any.whl |
Total release size: 29.2 kB
Release files / damicore_clusterizer-0.4.0.tar.gz
| Download URL | damicore_clusterizer-0.4.0.tar.gz |
|---|---|
| Size | 14.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fa7caadc275746d13f02c60e9906c3cf141237ac8eaf9c02837d12b81b4605ae
|
|
BLAKE2b-256 checksum How to use checksums |
e82656c29ff8db46f622e5f8b0aada6aaef3e4be748f13b27fe7423e297ed71e
|
| 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 13, 2026.
Transparency logRelease files / damicore_clusterizer-0.4.0-py3-none-any.whl
| Download URL | damicore_clusterizer-0.4.0-py3-none-any.whl |
|---|---|
| Size | 15.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d7d292df1e4a838954a7d48f454e987916b8cc2ea1bbbd4a7b172370090e8d27
|
|
BLAKE2b-256 checksum How to use checksums |
3aeb6feb2517e32545ee54d6eb91ce9771d7b96ee8dccedf89520e0a87076682
|
| 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 13, 2026.
Transparency logSecurity for damicore-clusterizer 0.4.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_clusterizer-0.4.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 13, 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.