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.

Features currently being evaluated

FeatureDescription
Type: Nested set
Type: Adjacency list
Type: Materialized path
Uses native graph storage
Drop-in Doesn't require building models using utils provided within package.
Works with previously created models.
Type: Directed Acyclic Graph
Admin contrib support Django Admin contrib integration.
Dependency Free Thirdparty depedency required for package.
Type: Closure Table
Type: Edge list Is the graph or tree stored in the database as a list of edges from a parent
node to a child node?
Package django-mptt django-admin2 django-treebeard neo4django django-treenode django-neomodel django-polymorphic-tree django-tree-queries django-ltree django-dag django-closuretree django-ltree django-admirarchy django-easytree django-postgresql-dag Django Closure Tree django-pagebase
Package django-mptt django-admin2 django-treebeard neo4django django-treenode django-neomodel django-polymorphic-tree django-tree-queries django-ltree django-dag django-closuretree django-ltree django-admirarchy django-easytree django-postgresql-dag Django Closure Tree django-pagebase
Description Utilities for implementing a
modified pre-order traversal
tree in django.
Extendable, adaptable rewrite
of django.contrib.admin
Efficient tree implementations
for Django
Drop-in Neo4j/Django
integration.
probably the best abstract
model / admin for your tree
based stuff. :deciduous_tree:
Neomodel plugin for Django Polymorphic MPTT tree support
for models
Like django-cte-forest, but
with explicit opt-in and less
configurability
A demo for storing and
querying trees in Django using
PostgreSQL
Basic portable Directed
Acyclic Graph application for
Django
Efficient tree-based
datastructure for Django
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.
Another attempt at modified
preordered tree traversal.
Meant to be as generic as
possible, should be easy to
use i...
Directed Acyclic Graphs with a
variety of methods for both
Nodes and Edges, and multiple
exports (NetworkX, Pandas,
etc). Thi...
Closure view based Tree models
for Django
Pages for Django
CategoryAppAppAppFrameworkAppAppAppOtherAppAppOtherAppAppAppAppAppApp
# Using This10982652141020020101
Python 3?
Development Status Production/Stable Alpha Production/Stable Alpha Production/Stable Beta Production/Stable Unknown n/a Beta Production/Stable Beta Production/Stable n/a Alpha Unknown Pre-Alpha
Last updated Aug. 22, 2021, 9:56 a.m. March 9, 2021, 12:36 p.m. July 17, 2021, 1:42 a.m. July 3, 2014, 12:12 p.m. June 11, 2021, 4:57 a.m. July 27, 2021, 2:41 p.m. April 1, 2021, 8:04 a.m. July 21, 2021, 9:44 a.m. Nov. 22, 2018, 5:43 a.m. Nov. 19, 2019, 12:01 p.m. March 6, 2018, 5:20 a.m. Aug. 16, 2021, 2:53 a.m. April 10, 2021, 11:13 p.m. Aug. 12, 2009, 11:31 p.m. Aug. 19, 2021, 1:09 p.m. Aug. 27, 2019, 10:07 p.m. April 27, 2011, 8:38 a.m.
Version0.13.10.7.14.5.10.1.80.17.00.0.72.00.6.0n/a1.4.31.2.00.5.31.2.1n/a0.2.50.2.20.4.1
RepoGitHubGitHubGitHubGitHubGitHubGitHubGitHubGitHubGitHubGitHubGitHubGitHubGitHubBitbucketGitHubGitHubGitHub
Commits
Stars25541127750353178162156857262613624211283
Repo Forks4301561818314314481019241362n/a51
Participantscraigds
matthiask
claudep
jdufresne
BertrandBordage
musashiXXX
michael-k
felixxm
karabijavad
olivierdalang
more...
pydanny
auvipy
gregmuellegger
arthur-wsw
audreyfeldroy
dbrgn
andrewsmedina
ludw
galuszkak
AndrewIngram
more...
tabo
jrief
johanneswilm
solarissmoke
jjdelc
maikhoepfel
mvantellingen
jaap3
JamesMaroney
fladi
more...
mhluongo
wcbeard
shaunduncan
pirhoo
tonjo
necaris
doismellburning
lutoma
coffenbacher
robinedwards
more...
fabiocaccamo
cperrin88
robinedwards
whatSocks
MattGalvis
nossila
biwin
devinbarry
EvdH0
adriancarayol
vdboor
singleton11
smcoll
gannettchad
vinnyrose
njamaleddine
stasfilin
bashu
jpotterm
jorgebg
more...
matthiask
SafaAlfulaij
Kingjmk
k4nar
amaurym
elpaso
iiSeymour
rgammans
eyu-boltthreads
frederik-elwert
hackaugusto
ghing
Farahzadi
mikebryant
benbacardi
soby
lowks
movermeyer
ykiu
mariocesar
boryszef
ramonsaraiva
ovangle
bctcvai
ThomasPinna
opentyler
idlesign
int-ua
fivethreeoOmenApps
jinglinz
worsht
funkybob
Wooble
schinckel
sorl
Documentation N/A N/A N/A N/A N/A N/A N/A N/A
Type: Nested set  (unnecessary)
Type: Adjacency list  (unnecessary)  (based on django-mptt)
Type: Materialized path  (unnecessary)  (based on django-mptt)
Uses native graph storage  Neo4j DB  (based on django-mptt)
Drop-in
Type: Directed Acyclic Graph
Admin contrib support
Dependency Free  Neo4j DB  mpttrequires `ltree` postgresql extension  NetworkX for exports, PostgreSQL
Type: Closure Table
Type: Edge list
Search WeightPackageDescriptionLast PyPI release:Repo ForksStars
{{ 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