Comparison
django-mptt vs django-treenode
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Utilities for implementing Modified Preorder Tree Traversal with your Django Models and working with trees of Model instances.
Actively maintained. Last release 10 days ago, commits in 7 of the last 26 weeks. A safe choice.
$
pip install django-mpttprobably the best abstract model/admin for your tree based stuff.
Maintained. Last release 3 months ago, commits in 4 of the last 26 weeks. Weaker on commit activity and contributor spread.
$
pip install django-treenodeIn short
- django-mptt is the most used: 1.2M downloads a month, 21× more than django-treenode.
- django-mptt also has the best Pythie’s Index (75).
- Safe default for a new project: django-mptt.
Side by side
| Metric | django-mptt | django-treenode |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 75 | 57 |