c0fec0de/anytree
Python tree data library observed · 2026-10-09
Health v2 · maintenance only
26/100
- Activity 7
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3706
- days_rel: 560
- days_push: 560
- n_releases_24m: 1
Adoption not part of the score
1095 stars · 134 forks observed · 2026-10-09
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Anytree is a lightweight Python library providing powerful tree data structures with nodes, mixins, walkers, renderers, and importers/exporters. It supports building, traversing, and visualizing hierarchical data, including Graphviz dot export.
Use cases
- build a tree data structure in python
- walk and traverse tree nodes
- render a tree as ascii text
- export tree to graphviz dot file
- represent hierarchical data like org charts or file systems
- add parent-child relationships to existing python classes
When to choose
- you need a simple, pure-python tree structure without heavy dependencies
- you want to mix tree behavior into your own classes via NodeMixin
- you need tree rendering, walking, or dot export out of the box
When to avoid
- you need high-performance trees for millions of nodes
- you need specialized trees like red-black or B-trees
- you work outside the Python ecosystem
Facets
library · maturity stable
developer-tools data-science developer-tools data-science python cross-platform tree-structure tree-walk node-tree dot-exporter hierarchical-data algorithms
2 sources
- readme: https://github.com/c0fec0de/anytree · fetched 2026-10-09 · f931314d34f3
- registry_pypi: https://pypi.org/pypi/anytree/json · fetched 2026-08-29 · 51f1b431fbc5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| c0fec0de/anytree | main | 26 |
For agents
markdown · JSON · MCP: product_card(name="c0fec0de/anytree")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem