Skip to main content

Efficient tree implementations for Django

Project description

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/

Supported versions

django-treebeard officially supports

  • Django 5.2 and higher
  • Python 3.10 and higher
  • PostgreSQL, MySQL, MSSQL, SQLite database back-ends.

Project details


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-5.2.0.tar.gz (311.2 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-5.2.0-py3-none-any.whl (80.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_treebeard-5.2.0.tar.gz
  • Upload date:
  • Size: 311.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for django_treebeard-5.2.0.tar.gz
Algorithm Hash digest
SHA256 a8145b7df18c6927cd6c97db674c8af678e23fe93629d47406ab6e27817423fe
MD5 8e588c46c89ab8c5673086730bb63d4b
BLAKE2b-256 580c0480f1e549ccb97f73482119c2ce7c3f8355605a22accdcc6a6d0568f71e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_treebeard-5.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 72f2c7da6862d37aed30e61bdb9fe39b04bf92be85cc7a18aa4c1689c543ebdd
MD5 b7e87f567fcd801232f7a818b4cce4cb
BLAKE2b-256 ec81da28550da34a5547f5bfc37f699e0f5d603664314574b0519b9cb5b25114

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page