{"library":"django-tree-queries","type":"library","category":null,"description":"django-tree-queries is a Django library that enables efficient querying of hierarchical data structures (trees) using adjacency lists and recursive Common Table Expressions (CTEs). It provides a lightweight solution for managing tree-like models within the Django ORM, focusing on explicit opt-in for tree-specific features rather than extensive configurability. The library is actively maintained, with version 0.24.0 currently available, supporting modern Django and Python versions.","language":"python","status":"active","version":"0.24.0","tags":["django","ORM","tree","hierarchical data","CTE","adjacency list"],"last_verified":"Sun May 24","install":[{"cmd":"pip install django-tree-queries","imports":["from tree_queries.models import TreeNode","from tree_queries.query import TreeQuerySet","from tree_queries.fields import TreeNodeForeignKey"]}],"homepage":null,"github":"https://github.com/matthiask/django-tree-queries","docs":null,"changelog":null,"pypi":"https://pypi.org/project/django-tree-queries/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.6,"avg_import_s":null,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/django-tree-queries/compatibility"}}