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.

Filter results

Package django-mptt django-treebeard django-treenode django-tree-queries django-neomodel django-admin2 django-postgresql-dag django-fast-treenode django-admirarchy django-ltree
Package django-mptt django-treebeard django-treenode django-tree-queries django-neomodel django-admin2 django-postgresql-dag django-fast-treenode django-admirarchy django-ltree
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
PostgreSQL, sqlite, MySQL and
MariaDB.
Neomodel plugin for Django Extendable, adaptable rewrite
of django.contrib.admin
Directed Acyclic Graphs with a
variety of methods for both
Nodes and Edges, and multiple
exports (NetworkX, Pandas,
etc). Thi...
Django Admin addon to navigate
through hierarchies.
An ltree extension
implementation to support
hierarchical tree-like data
using the native Postgres
extension ltree in django
models
Category App App App Other App App App App App App
# Using This 111 26 3 2 1 8 1 1 2 0
Python 3?
Development Status Production/Stable Production/Stable Production/Stable Unknown Beta Alpha Alpha Unknown Production/Stable Beta
Last updated Jan. 16, 2024, 10:28 a.m. Jan. 31, 2024, 11:27 a.m. Feb. 19, 2024, 12:40 p.m. Jan. 26, 2024, 6:24 a.m. Aug. 21, 2023, 8:33 a.m. Oct. 22, 2021, 11:46 a.m. July 9, 2022, 12:58 p.m. Feb. 6, 2024, 6:12 a.m. June 26, 2022, 8:23 a.m. Aug. 16, 2021, 2:53 a.m.
Version 0.16.0 4.7.1 0.22.0 0.16.1 0.1.1 0.7.1 0.4.0 1.1.1 1.2.2 0.5.3
Repo GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub
Commits
Stars 2,812 1,048 565 342 259 1,181 39 10 26 57
Repo Forks 459 211 30 22 53 154 6 2 8 15
Participants craigds
matthiask
claudep
jdufresne
BertrandBordage
musashiXXX
michael-k
felixxm
thedrow
olivierdalang
more...
tabo
jrief
solarissmoke
johanneswilm
jjdelc
maiksprenger
mvantellingen
jaap3
JamesMaroney
fladi
more...
fabiocaccamo
dependabot[bot]
github-actions[bot]
pre-commit-ci[bot]
jvacek
cperrin88
Nathan-Cohen
matthiask
SafaAlfulaij
rhomboss
glennmatthews
olivierdalang
taobojlen
bryanculver
robinedwards
whatSocks
mariusconjeaud
MattGalvis
nossila
biwin
devinbarry
EvdH0
adriancarayol
partybison917584020184
pydanny
auvipy
gregmuellegger
arthur-wsw
dbrgn
andrewsmedina
audreyfeldroy
ludw
galuszkak
AndrewIngram
more...
JackAtOmenApps
jinglinz
worsht
alyjak
jacklinke
TimurKady idlesign
int-ua
telmobarros
mariocesar
boryszef
ramonsaraiva
ovangle
bctcvai
ThomasPinna
opentyler
Documentation n/a n/a
Type: Adjacency list
Type: Nested set
Type: Materialized path
Uses native graph storage
Admin contrib support
Drop-in
Type: Directed Acyclic Graph
Type: Closure Table
Dependency Free   NetworkX for exports, PostgreSQL
Type: Edge list

View all grid packages

Features currently being evaluated

Feature Description
Type: Adjacency list
Type: Nested set
Type: Materialized path
Uses native graph storage
Admin contrib support Django Admin contrib integration.
Drop-in Doesn&#x27;t require building models using utils provided within package.<br>Works with previously created models.
Type: Directed Acyclic Graph
Type: Closure Table
Dependency Free Thirdparty depedency required for package.
Type: Edge list Is the graph or tree stored in the database as a list of edges from a parent<br>node to a child node?
Search Weight Package Description Last PyPI release: Repo Forks Stars
{{ item.weight / max_weight * 100 | number:0 }}% {{ item.title }} Grid: {{ item.description }} {{ item.last_released | date: 'mediumDate' }} N/A {{ item.repo_forks }} N/A {{ item.repo_watchers }} N/A