Directed Acyclic Graph implementation for Django & Postgresql
Project description
Django & Postgresql-based Directed Acyclic Graphs
The main distinguishing factor for this project is that it can retrieve entire sections of a graph with far fewer queries than most other packages. The trade off is portability: it uses Postgres' Common Table Expressions (CTE) to achieve this and is therefore not compatible with other databases.
NOTE: Not all methods which would benefit from CTEs use them yet.
NOTE: This project is a work in progress. Again, this project is a work in progress. While functional, it is not optimized and not yet stable. Lots of changes are happening weekly. Expect it to stabilize by the end of 2020.
Currently, it provides numerous methods for retrieving nodes, and a few for retrieving edges within the graph. In progress are filters within the in order to limit the area of the graph to be searched, ability to easily export to NetworkX, and other improvements and utilities.
Demo
ToDo
- Describe methods of filtering nodes and edges within the CTE.
- Finish creating proper docs.
Credits:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-postgresql-dag-0.0.23.tar.gz
.
File metadata
- Download URL: django-postgresql-dag-0.0.23.tar.gz
- Upload date:
- Size: 20.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2159ec1cf398c752c59deea3322fa22705ed558db5d28278f9e841b346e4e34b |
|
MD5 | 26337ccde8d89147e17b91c4d377267b |
|
BLAKE2b-256 | 8610419d047ffc51cb9fdb44c39f36267252b4edf38856ae3900183c4ac9bac4 |
Provenance
File details
Details for the file django_postgresql_dag-0.0.23-py3-none-any.whl
.
File metadata
- Download URL: django_postgresql_dag-0.0.23-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19ed6ed8f891ddd1216820c5bedc83b3e26722cc151f21869ebaee6295c03713 |
|
MD5 | 75add9085958defa449c8d0bbbf00956 |
|
BLAKE2b-256 | 7a4cea18d031c2e753b0776cda5b54016117b11197aa7980e5fb8c741512cc71 |