How to Install and Uninstall python3-django-tree-queries Package on Kali Linux

Last updated: December 27,2024

1. Install "python3-django-tree-queries" package

This guide covers the steps necessary to install python3-django-tree-queries on Kali Linux

$ sudo apt update $ sudo apt install python3-django-tree-queries

2. Uninstall "python3-django-tree-queries" package

Please follow the step by step instructions below to uninstall python3-django-tree-queries on Kali Linux:

$ sudo apt remove python3-django-tree-queries $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-django-tree-queries package on Kali Linux

Package: python3-django-tree-queries
Source: python-django-tree-queries
Version: 0.16.1-1
Installed-Size: 58
Maintainer: Debian Python Team
Architecture: all
Depends: python3-django, python3:any
Suggests: python-django-tree-queries-doc
Size: 16768
SHA256: 161e23969e1a989d359d2fa4545e12d8e53434683b1c5a1562766a60ebec2187
SHA1: 965f6d00ffcf7476592cb2b56c242dd6ed4048aa
MD5sum: 4718dd59c7ee716a7a7cc7af48c0f114
Description: Adjacency-list trees for Django (Python3 version)
Query Django model trees using adjacency lists and recursive common table
expressions. Supports PostgreSQL, sqlite3 and MariaDB and MySQL.
.
Features and limitations:
* Supports only integer and UUID primary keys (for now).
* Allows specifying ordering among siblings.
* Uses the correct definition of depth, where root nodes have a depth of
zero.
* The parent foreign key must be named "parent" at the moment.
* The fields added by the common table expression always are tree_depth,
tree_path and tree_ordering. The names cannot be changed. tree_depth is an
integer, tree_path an array of primary keys and tree_ordering an array of
values used for ordering nodes within their siblings.
* Besides adding the fields mentioned above the package only adds queryset
methods for ordering siblings and filtering ancestors and descendants.
* Little code, and relatively simple when compared to other tree management
solutions for Django. No redundant values so the only way to end up with
corrupt data is by introducing a loop in the tree structure (making it a
graph). The TreeNode abstract model class has some protection against this.
* Supports only trees with max. 50 levels on MySQL/MariaDB, since those
databases do not support arrays and require a maximum length for the
tree_path and tree_ordering upfront.
.
This package contains the Python 3 version of the library.
Description-md5:
Homepage: https://github.com/feincms/django-tree-queries
Section: python
Priority: optional
Filename: pool/main/p/python-django-tree-queries/python3-django-tree-queries_0.16.1-1_all.deb

5. The same packages on other Linux Distributions