django-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/.
System requirements
django-treebeard officially supports:
- Django 5.2 and higher
- Python 3.10 and higher
- PostgreSQL, MySQL, MSSQL, SQLite database back-ends.
Supported versions
The following versions of Treebeard are actively maintained:
- v5.x: security and bugfix support until April 2030.
- v6.x: security and bugfix support until April 2028.
- v7.x: current stable release.
Version 6 of Treebeard featured an API change that moved much of Treebeard's API from the model class to the model manager. To mitigate the upgrade burden, v5.x of Treebeard will receive security and bugfix releases until April 2030.
Metadata
Release files for django-treebeard 7.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| django_treebeard-7.0.3.tar.gz | 234.7 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_treebeard-7.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 316.3 kB
Release files / django_treebeard-7.0.3.tar.gz
| Download URL | django_treebeard-7.0.3.tar.gz |
|---|---|
| Size | 234.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eb25678a4e79bdcc315c3cf2158c33a8ade5f51cf4df220909abc603bbd62681
|
|
BLAKE2b-256 checksum How to use checksums |
9b4b6b24126d565f360630accb6089da7cd20665d75b8510d269527d497a996d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.
Transparency logRelease files / django_treebeard-7.0.3-py3-none-any.whl
| Download URL | django_treebeard-7.0.3-py3-none-any.whl |
|---|---|
| Size | 81.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7f1ddcad9cc4ee214c708d9496d574d9d92c155e59c1f335807ef5b0a83aad55
|
|
BLAKE2b-256 checksum How to use checksums |
ea8f8f1e02f1da570cd4fb11dbec986b55ef5a9f0310bbe6240296d8766e045d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.
Transparency logSecurity for django-treebeard 7.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for django_treebeard-7.0.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.