Comparison
django-mptt vs django-treebeard 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 5 of the last 26 weeks. A safe choice.
pip install django-mpttEfficient tree implementations for Django
Actively maintained. Last release 6 weeks ago, commits in 14 of the last 26 weeks. A safe choice.
pip install django-treebeardprobably the best abstract model/admin for your tree based stuff.
Maintained. Last release 3 months ago, commits in 5 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install django-treenodeIn short
- django-treebeard is the most used: 1.3M downloads a month.
- django-treebeard also has the best Pythie’s Index (91).
- Safe default for a new project: django-treebeard.
Side by side
| Metric | django-mptt | django-treebeard | django-treenode |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 71 | 91 |