Comparison
django-mptt vs django-tree-queries
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-mpttTree queries with explicit opt-in, without configurability
Actively maintained. Last release 5 days ago, commits in 18 of the last 26 weeks. A safe choice.
$
pip install django-tree-queriesIn short
- django-mptt is the most used: 1.2M downloads a month, 5.4× more than django-tree-queries.
- django-tree-queries is better maintained: Pythie’s Index 85 against 75.
- django-tree-queries is growing fastest: downloads +12% over the last month.
- Safe default for a new project: django-mptt, or django-tree-queries if active maintenance matters most.
Side by side
| Metric | django-mptt | django-tree-queries |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 75 | 85 |