Trees and Graphs
Even in relational databases, Django can easily do hierarchical data models. http://science.nasa.gov/ is a good example of what can be done.
18
Packages
0
Features
Search & Filter
| Package | django-mptt | django-treebeard | django-treenode | django-tree-queries | django-neomodel | django-ltree | django-postgresql-dag | django-ltree-2 |
|---|---|---|---|---|---|---|---|---|
|
Description
|
Utilities for implementing a
modified pre-order traversal tree in django. |
Efficient tree implementations
for Django |
:deciduous_tree: probably the
best abstract model/admin for your tree based stuff. |
Adjacency-list trees for
Django using recursive common table expressions. Supports Postgre… |
Neomodel plugin for Django
|
An ltree extension
implementation to support hierarchical tree-like data using the native … |
Directed Acyclic Graphs with a
variety of methods for both Nodes and Edges, and multiple e… |
Postgres LTree support for
django |
|
Category
|
App | App | App | Other | App | App | App | App |
|
Using This
|
113
|
27
|
3
|
2
|
1
|
0
|
1
|
0
|
|
Python 3?
|
Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
|
Dev Status
|
Production/Stable | Production/Stable | Production/Stable | Unknown | Beta | Beta | Alpha | Production/Stable |
|
Version (PyPI)
|
0.18.0 | 5.0.2 | 0.23.3 | 0.23.0 | 0.2.0 | 0.6.0 | 2026.2.2 | 0.1.13 |
|
Stars
|
2,965 | 1,180 | 793 | 501 | 309 | 72 | 48 | 47 |
|
Forks
|
466 | 220 | 38 | 32 | 61 | 19 | 6 | 6 |
|
Commits
|
|
|
|
|
|
|
|
|
|
Updated
|
26 Aug 2025 | 15 Feb 2026 | 3 Jan 2026 | 27 Nov 2025 | 27 Jan 2025 | 11 Dec 2025 | 15 Feb 2026 | 10 Feb 2026 |
|
License
|
MIT-License | Apache-2.0 | Custom | BSD-3-Clause | MIT | MIT | Apache-2.0 | MIT |
|
Links
|
Directed Acyclic Graphs with a variety of methods for both Nodes and Edges, and multiple exports (NetworkX, Pandas, etc). This project is the foundation for a commercial product, so expect regular improvements. PR's and other contributions are welcomed.
48
Stars
6
Forks
1
Usage
Py3
Showing 8 of 18 packages in this grid.