All Projects → OmenApps → django-postgresql-dag

OmenApps / django-postgresql-dag

Licence: Apache-2.0 license
Directed Acyclic Graphs with a variety of methods for both Nodes and Edges, and multiple exports (NetworkX, Pandas, etc). This project is the foundation for a commercial product, so expect regular improvements. PR's and other contributions are welcomed.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to django-postgresql-dag

findr
Fast Inference of Networks from Directed Regulations
Stars: ✭ 19 (-17.39%)
Mutual labels:  directed-graph, dag
vue-dag
🏗 Data-driven directed acyclic graph (DAG) builder for Vue.js
Stars: ✭ 37 (+60.87%)
Mutual labels:  dag, directed-acyclic-graph
directed graph
Dart implementation of a directed graph. Provides algorithms for sorting vertices, retrieving a topological ordering or detecting cycles.
Stars: ✭ 37 (+60.87%)
Mutual labels:  directed-graph, directed-acyclic-graph
metahelm
Install dependency graphs of Kubernetes Helm Charts
Stars: ✭ 70 (+204.35%)
Mutual labels:  graph-algorithms, dag
jsgraph
Deprecated: Use the @encapsule/arccore package that includes the graph library
Stars: ✭ 42 (+82.61%)
Mutual labels:  graph-algorithms, directed-graph
graph-dsl
A groovy dsl for creating and traversing graphs.
Stars: ✭ 24 (+4.35%)
Mutual labels:  directed-graph, dag
laravel-dag-manager
A SQL-based Directed Acyclic Graph (DAG) solution for Laravel.
Stars: ✭ 24 (+4.35%)
Mutual labels:  dag, directed-acyclic-graph
batching-toposort
Efficiently sort interdependent tasks into a sequence of concurrently-executable batches
Stars: ✭ 21 (-8.7%)
Mutual labels:  dag, directed-acyclic-graph
breaking cycles in noisy hierarchies
breaking cycles in noisy hierarchies
Stars: ✭ 59 (+156.52%)
Mutual labels:  dag, directed-acyclic-graph
obyte-hub
Hub for Obyte network
Stars: ✭ 17 (-26.09%)
Mutual labels:  dag, directed-acyclic-graph
LaplacianOpt.jl
A Julia/JuMP Package for Maximizing Algebraic Connectivity of Undirected Weighted Graphs
Stars: ✭ 16 (-30.43%)
Mutual labels:  graph-algorithms
GraphLIME
This is a Pytorch implementation of GraphLIME
Stars: ✭ 40 (+73.91%)
Mutual labels:  graph-algorithms
chinese-postman-problem
C++ solution for the chinese postman problem
Stars: ✭ 19 (-17.39%)
Mutual labels:  graph-algorithms
mage
MAGE - Memgraph Advanced Graph Extensions 🔮
Stars: ✭ 89 (+286.96%)
Mutual labels:  graph-algorithms
gradoop demo
Demo application for GRADOOP operators
Stars: ✭ 21 (-8.7%)
Mutual labels:  graph-algorithms
Graph-Algorithms
Everything you need to know about graph theory to ace a technical interview 🔥
Stars: ✭ 87 (+278.26%)
Mutual labels:  graph-algorithms
PyBC
Bitcoin blockchain parser for Python 2 and 3. Includes handy examples.
Stars: ✭ 26 (+13.04%)
Mutual labels:  graph-algorithms
Belief-Propagation
Overview and implementation of Belief Propagation and Loopy Belief Propagation algorithms: sum-product, max-product, max-sum
Stars: ✭ 85 (+269.57%)
Mutual labels:  graph-algorithms
Literatures-on-GNN-Acceleration
A reading list for deep graph learning acceleration.
Stars: ✭ 50 (+117.39%)
Mutual labels:  graph-algorithms
networkx-neo4j
NetworkX API for Neo4j Graph Algorithms.
Stars: ✭ 98 (+326.09%)
Mutual labels:  graph-algorithms

codecov PyPI last commit Documentation Status made-with-python

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. This project is a work in progress. Again, this project is a work in progress. While functional, it is not yet fully optimized.

The primary purpose of this package is to build and manipulate DAGs. If you are looking for graph analysis or visualization, this is not the right package.

Currently, django-postgresql-dag provides numerous methods for retrieving nodes, and a few for retrieving edges within the graph. In-progress are filters within the CTEs in order to limit the area of the graph to be searched, ability to easily export to NetworkX, and other improvements and utilities.

Demo

Quickstart example

Install

pip install django-postgresql-dag

With optional dependencies for using transformations:

pip install django-postgresql-dag[transforms]

ToDo

See the checklists in issues to understand the future goals of this project.

Credits:

  1. This excellent blog post
  2. django-dag
  3. django-dag-postgresql
  4. django-treebeard-dag
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].