Comparison
anytree vs treelib
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Powerful and Lightweight Python Tree Data Structure with various plugins
Low maintenance activity. Last release 20 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install anytreeA Python implementation of tree structure.
Low maintenance activity. Last release 17 months ago, commits in 5 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install treelibIn short
- anytree is the most used: 7.1M downloads a month, 4.4× more than treelib.
- treelib is better maintained: Pythie’s Index 39 against 16.