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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_treebeard-7.0.1.tar.gz (230.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_treebeard-7.0.1-py3-none-any.whl (80.0 kB view details)

Uploaded Python 3

File details

Details for the file django_treebeard-7.0.1.tar.gz.

File metadata

  • Download URL: django_treebeard-7.0.1.tar.gz
  • Upload date:
  • Size: 230.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for django_treebeard-7.0.1.tar.gz
Algorithm Hash digest
SHA256 c998eb140f28b844b7006c0cf44c8706775159dc18a5c66d14e27b020b6050f2
MD5 e3eaf230852816c5cb0605635180e1ca
BLAKE2b-256 5902abc22fcc3f6077fdcf85c69c946a5ee2d2e3d95d9421e1038086facbf7f5

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_treebeard-7.0.1.tar.gz:

Publisher: publish.yml on django-treebeard/django-treebeard

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file django_treebeard-7.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_treebeard-7.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4c62fbbe4a474dcc4b93ce9a9b71b403cca143e52736654a97b73ece0c4a6e37
MD5 72b8bd9485cd0b105922bbb23dc73fff
BLAKE2b-256 440f3b7e2db8e79de858b77c6d207d9696c1a71d5520647ec71d5d8c7788e665

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_treebeard-7.0.1-py3-none-any.whl:

Publisher: publish.yml on django-treebeard/django-treebeard

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

7.0.1 This release

2 files

7.0.0

2 files

6.0.1

2 files

6.0.0

2 files

5.3.1

2 files

5.3.0

2 files

5.2.2

2 files

5.2.1

2 files

5.2.0

2 files

5.1.0

2 files

5.0.5

2 files

5.0.4

2 files

5.0.3

2 files

5.0.2

2 files

5.0.1

2 files

5.0.0

2 files

4.8.0

2 files

4.7.1

2 files

4.7

2 files

4.6.1

2 files

4.6.0

2 files

4.5.1

2 files

4.5

2 files

4.4

2 files

4.3.1

1 file

4.3

1 file

4.2.1

1 file

4.2.0

1 file

4.1.2

1 file

4.1.1

1 file

4.1.0

1 file

4.0.1

1 file

4.0

1 file

3.0

1 file

2.0

1 file

1.61

1 file

1.60

1 file

1.52

1 file

1.51

1 file

1.6

1 file

1.5

1 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