django-treebeard
v7.0.0Efficient tree implementations for Django
78 KB Python 3.10+ py3-none-anyApache-2.01 deps
$ uv add django-treebearddjango-treebeard
django-treebeard is a library that implements efficient tree implementations for the Django Web Framework.
It was written by Gustavo Picón and licensed under the Apache License 2.0.
Status
Features
django-treebeard is:
- Flexible: Includes 3 different tree implementations with the
same API:
- Adjacency List
- Materialized Path
- Nested Sets
- PostgreSQL ltree (experimental)
- Fast: Optimized non-naive tree operations
- Easy: Uses Django Model Inheritance with abstract classes to define your own models.
- Clean: Testable and well tested code base. Code/branch test coverage is above 96%.
You can find the documentation at https://django-treebeard.readthedocs.io/en/latest/
Supported versions
django-treebeard officially supports
- Django 5.2 and higher
- Python 3.10 and higher
- PostgreSQL, MySQL, MSSQL, SQLite database back-ends.
Details
- Version
- 7.0.0
- License
- Apache-2.0
- Python
- >=3.10
- Maintainer
- Gustavo Picon <[email protected]>
Release Cadence
15
releases in the past year
avg 148 days between releases
Maintainers
- Gustavo Picon · [email protected]