A tool to generate flowcharts for Django projects
Project description
Django Flow Viz Toolkit
A Django management command that generates flowcharts for your Django project, including models, URLs, middleware, and signals.
Features
- Generates project-wide or app-wise flowcharts.
- Visualizes Django models, URLs, middleware, and signals.
- Uses PyGraphviz to render flowcharts.
Installation
-
We will use pygraphviz to generate the flowcharts. Install it via pip:
pip install pygraphviz
If you face any issues, you might need to install Graphviz on your system first. For example, on Ubuntu, you can run:
sudo apt-get install graphviz
-
Install the package using pip:
pip install django-flow-viz-toolkit
Configuration
After installation, include django-flow-viz-toolkit
in the INSTALLED_APPS
in your Django project's settings.py
:
INSTALLED_APPS = [
...
'django-flow-viz-toolkit',
...
]
Usage
Run the management command to generate the flowchart:
python manage.py generate_flowchart
To generate app-wise flowcharts:
python manage.py generate_flowchart --app-wise
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
Close
Hashes for django-flow-viz-toolkit-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0635258959c3b8d9fa5096696d6306a6dfedbca4957fe3a53409885c49244b8c |
|
MD5 | a1a3a5b3dd4bedddd5b8872a53f4ecf6 |
|
BLAKE2b-256 | 007b31567273372db1aa69ce7ba3307f2f198567170741f851e5049ea4efc2a4 |
Close
Hashes for django_flow_viz_toolkit-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c485eeddbcb26fe94f19ca052a0ed672a2049b6795151d18da1ce5e1aa545eff |
|
MD5 | b0858944cd9a2625d3a7ff342da5be90 |
|
BLAKE2b-256 | 8978ca6d2fd5a936ef2b548d510d28023d9dfe24ed289bc87d96f8f1b3b44e37 |