Skip to main content

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

Documentation Status Tests PyPI PyPI - Django Version PyPI version

Features

django-treebeard is:

  • Flexible: Includes 3 different tree implementations with the same API:
    1. Adjacency List
    2. Materialized Path
    3. Nested Sets
    4. 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.

Release files for django-treebeard 7.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-treebeard 7.0.2
File Size Uploaded
django_treebeard-7.0.2.tar.gz 231.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-treebeard 7.0.2
File Interpreter ABI Platform
django_treebeard-7.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 311.8 kB

Release files / django_treebeard-7.0.2.tar.gz

Download URL django_treebeard-7.0.2.tar.gz
Size 231.3 kB
Tags Source
SHA-256 checksum
How to use checksums
37b917c9b5d56ae2e0f3d03be4446e861d28bf021433045b37d952e0188a114d
BLAKE2b-256 checksum
How to use checksums
e1c01875927de0e4b00670b3b8394c424edce7b964b30f06bb9e9f8e1657b6cc
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 Sep 15, 2026.

Transparency log

Release files / django_treebeard-7.0.2-py3-none-any.whl

Download URL django_treebeard-7.0.2-py3-none-any.whl
Size 80.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
95bf9296401a99f3575b060265918b9456c7ec36eb2026c6287f33017ba0d5d7
BLAKE2b-256 checksum
How to use checksums
1eb401235cccddcd911b26652da568d450ade8fa352631f518f0032edfa6c58f
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 Sep 15, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

7.0.2 This release

2 release files

7.0.1

2 release files

7.0.0

2 release files

6.0.1

2 release files

6.0.0

2 release files

5.3.1

2 release files

5.3.0

2 release files

5.2.2

2 release files

5.2.1

2 release files

5.2.0

2 release files

5.1.0

2 release files

5.0.5

2 release files

5.0.4

2 release files

5.0.3

2 release files

5.0.2

2 release files

5.0.1

2 release files

5.0.0

2 release files

4.8.0

2 release files

4.7.1

2 release files

4.7

2 release files

4.6.1

2 release files

4.6.0

2 release files

4.5.1

2 release files

4.5

2 release files

4.4

2 release files

4.3.1

1 release file

4.3

1 release file

4.2.1

1 release file

4.2.0

1 release file

4.1.2

1 release file

4.1.1

1 release file

4.1.0

1 release file

4.0.1

1 release file

4.0

1 release file

3.0

1 release file

2.0

1 release file

1.61

1 release file

1.60

1 release file

1.52

1 release file

1.51

1 release file

1.6

1 release file

1.5

1 release file

1.2a

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page