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

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't require building models using utils provided within package.
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
node to a child node?

Filter results

Package django-mptt django-admin2 django-treebeard django-treenode django-neomodel django-polymorphic-tree django-tree-queries django-ltree django-admirarchy django-postgresql-dag Django Closure Tree django-dag django-pagebase django-ltree django-closuretree django-easytree
Package django-mptt django-admin2 django-treebeard django-treenode django-neomodel django-polymorphic-tree django-tree-queries django-ltree django-admirarchy django-postgresql-dag Django Closure Tree django-dag django-pagebase django-ltree django-closuretree django-easytree
Description Utilities for implementing a
modified pre-order traversal
tree in django.
Extendable, adaptable rewrite
of django.contrib.admin
Efficient tree implementations
for Django
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
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.
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
Basic portable Directed
Acyclic Graph application for
Django
Pages for Django A demo for storing and
querying trees in Django using
PostgreSQL
Efficient tree-based
datastructure for Django
Another attempt at modified
preordered tree traversal.
Meant to be as generic as
possible, should be easy to
use i...
Category App App App App App App Other App App App App App App App Other App
# Using This 109 8 26 2 1 4 1 0 2 1 0 2 1 0 0 0
Python 3?
Development Status Production/Stable Alpha Production/Stable Production/Stable Beta Production/Stable Unknown Beta Production/Stable Alpha Unknown Beta Pre-Alpha n/a Production/Stable n/a
Last updated Sept. 8, 2021, 7:18 a.m. Oct. 22, 2021, 11:46 a.m. Dec. 11, 2021, 12:47 a.m. Dec. 13, 2021, 12:23 p.m. July 27, 2021, 2:41 p.m. April 1, 2021, 8:04 a.m. July 21, 2021, 9:44 a.m. Aug. 16, 2021, 2:53 a.m. Dec. 17, 2021, 11:05 p.m. Jan. 11, 2022, 11:23 p.m. Aug. 27, 2019, 10:07 p.m. Nov. 19, 2019, 12:01 p.m. April 27, 2011, 8:38 a.m. Nov. 22, 2018, 5:43 a.m. March 6, 2018, 5:20 a.m. Aug. 12, 2009, 11:31 p.m.
Version 0.13.4 0.7.1 4.5.1 0.18.0 0.0.7 2.0 0.6.0 0.5.3 1.2.2 0.3.2 0.2.2 1.4.3 0.4.1 n/a 1.2.0 n/a
Repo GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub Bitbucket
Commits
Stars 2563 1145 815 216 172 156 90 41 24 19 8 62 3 77 61 21
Repo Forks 435 155 192 19 31 44 9 14 6 1 5 20 1 10 24 2
Participants craigds
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...
fabiocaccamo
jvacek
cperrin88
robinedwards
whatSocks
MattGalvis
nossila
biwin
devinbarry
EvdH0
adriancarayol
vdboor
singleton11
smcoll
gannettchad
vinnyrose
njamaleddine
stasfilin
bashu
jpotterm
jorgebg
more...
matthiask
SafaAlfulaij
Kingjmk
mariocesar
boryszef
ramonsaraiva
ovangle
bctcvai
ThomasPinna
opentyler
idlesign
int-ua
OmenApps
jinglinz
worsht
funkybob
Wooble
schinckel
elpaso
iiSeymour
rgammans
eyu-boltthreads
frederik-elwert
hackaugusto
ghing
Farahzadi
sorl k4nar
amaurym
mikebryant
benbacardi
soby
lowks
movermeyer
ykiu
fivethreeo
Documentation N/A N/A N/A N/A N/A 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 requires `ltree` postgresql extension
Type: Edge list
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