Comparison
django-mptt vs django-treebeard
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-mpttEfficient tree implementations for Django
Actively maintained. Last release 6 weeks ago, commits in 13 of the last 26 weeks. A safe choice.
$
pip install django-treebeardIn short
- django-treebeard is the most used: 1.4M 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 |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 75 | 91 |