Skip to main content

damicore-clusterizer

damicore-clusterizer clusters every node of a validated DAMICORE tree with igraph FastGreedy and projects the resulting communities onto leaves. 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.

Licensed under Apache-2.0.

Metadata

Release files for damicore-clusterizer 0.3.0

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-clusterizer 0.3.0
File Size Uploaded Provenance Actions
damicore_clusterizer-0.3.0.tar.gz 12.9 kB With provenance Details for damicore_clusterizer-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for damicore-clusterizer 0.3.0
File Interpreter ABI Platform Actions
damicore_clusterizer-0.3.0-py3-none-any.whl Python 3 none any Details for damicore_clusterizer-0.3.0-py3-none-any.whl

Total release size: 26.6 kB

Release files / damicore_clusterizer-0.3.0.tar.gz

Download URL damicore_clusterizer-0.3.0.tar.gz
Size 12.9 kB
Tags Source
SHA-256 checksum
How to use checksums
84c8d0dbaaf80d3ee18148c2e8ab216adfb1ca28e2c43e2bdf75c4127d77717b
BLAKE2b-256 checksum
How to use checksums
d6d0ed140656cd5e44c60b43efb0729cfcda2d55e92790c25df21c475b9f6d9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 9, 2026.

Transparency log

Release files / damicore_clusterizer-0.3.0-py3-none-any.whl

Download URL damicore_clusterizer-0.3.0-py3-none-any.whl
Size 13.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0fe00e6abf951775b330b472a4344d26561bb1687fec233a6750f08f1e219220
BLAKE2b-256 checksum
How to use checksums
d6be4efadec42ad820ea76c85410fa7e4f6a0674d4c794d94098ef804d48579a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 9, 2026.

Transparency log

Security for damicore-clusterizer 0.3.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.

Select from 2 files

Attestation for damicore_clusterizer-0.3.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 Sep 9, 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