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-admin2 django-treenode django-tree-queries django-neomodel django-polymorphic-tree django-postgresql-dag django-ltree django-admirarchy
Package django-mptt django-treebeard django-admin2 django-treenode django-tree-queries django-neomodel django-polymorphic-tree django-postgresql-dag django-ltree django-admirarchy
Description Utilities for implementing a
modified pre-order traversal
tree in django.
Efficient tree implementations
for Django
Extendable, adaptable rewrite
of django.contrib.admin
: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 Polymorphic MPTT tree support
for models
Directed Acyclic Graphs with a
variety of methods for both
Nodes and Edges, and multiple
exports (NetworkX, Pandas,
etc). Thi...
An ltree extension
implementation to support
hierarchical tree-like data
using the native Postgres
extension ltree in django
models
Django Admin addon to navigate
through hierarchies.
Category App App App App Other App App App App App
# Using This 110 26 8 2 2 1 4 1 0 2
Python 3?
Development Status Production/Stable Production/Stable Alpha Production/Stable Unknown Beta Production/Stable Alpha Beta Production/Stable
Last updated Nov. 29, 2022, 11:08 a.m. Feb. 4, 2023, 11:27 p.m. Oct. 22, 2021, 11:46 a.m. March 20, 2023, 4:12 p.m. Jan. 30, 2023, 10:18 a.m. July 27, 2021, 2:41 p.m. Nov. 18, 2021, 6 a.m. July 9, 2022, 12:58 p.m. Aug. 16, 2021, 2:53 a.m. June 26, 2022, 8:23 a.m.
Version 0.14.0 4.6.1 0.7.1 0.19.0 0.14.0 0.0.7 2.1 0.4.0 0.5.3 1.2.2
Repo GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub
Commits
Stars 2,726 960 1,176 408 259 222 166 30 55 24
Repo Forks 452 201 155 23 18 39 45 5 16 7
Participants craigds
matthiask
claudep
jdufresne
BertrandBordage
musashiXXX
michael-k
felixxm
karabijavad
olivierdalang
more...
tabo
jrief
solarissmoke
johanneswilm
jjdelc
maiksprenger
mvantellingen
jaap3
JamesMaroney
fladi
more...
pydanny
auvipy
gregmuellegger
arthur-wsw
audreyfeldroy
dbrgn
andrewsmedina
ludw
galuszkak
AndrewIngram
more...
fabiocaccamo
dependabot[bot]
jvacek
github-actions[bot]
cperrin88
pre-commit-ci[bot]
matthiask
SafaAlfulaij
rhomboss
olivierdalang
taobojlen
bryanculver
jameelhamdan
robinedwards
whatSocks
MattGalvis
nossila
biwin
devinbarry
EvdH0
adriancarayol
vdboor
smcoll
gannettchad
vinnyrose
njamaleddine
singleton11
stasfilin
bashu
jpotterm
jorgebg
more...
OmenApps
jinglinz
worsht
alyjak
jacklinke
mariocesar
boryszef
ramonsaraiva
ovangle
bctcvai
ThomasPinna
opentyler
idlesign
int-ua
telmobarros
Documentation n/a n/a n/a
Type: Adjacency list   (based on django-mptt)
Type: Nested set
Type: Materialized path   (based on django-mptt)
Uses native graph storage   (based on django-mptt)
Admin contrib support
Drop-in
Type: Directed Acyclic Graph
Type: Closure Table
Dependency Free   mptt   NetworkX for exports, PostgreSQL
Type: Edge list

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