doit-graph
Generates a graph (using graphviz's dot) of doit tasks.
Sample for doit tutorial tasks:
install
pip install doit-graph
usage
$ doit graph
$ dot -Tpng tasks.dot -o tasks.png
-
By default sub-tasks are hidden. Use option
--show-subtasksto display them. -
By default all tasks are included in graph. It is possible to specify which tasks should be included in the graph (note dependencies will be automatically included).
-
To draw tasks in execution order (i.e. reverse of dependency direction), use option
--reverse
$ doit graph --reverse
- To draw tasks from left-to-right instead of the default top-to-bottom, use option
--horizontalor-h
$ doit graph --horizontal
legend
- group-tasks have double bondary border in the node
task-deparrow have a solid headsetup-taskarrow have an empty head
limitations
calc_dep and delayed-tasks are not supported.
DEV notes
Metadata
Release files for doit-graph 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| doit-graph-0.3.0.tar.gz | 3.3 kB | Details |
Release files / doit-graph-0.3.0.tar.gz
| Download URL | doit-graph-0.3.0.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
93c1b367afbff868632196cd87248b3c3128f5d53ae95d08b227ab25ae71d6d8
|
|
BLAKE2b-256 checksum How to use checksums |
d86126e5f0c4b6b0b20881aba5531ec08cf85e7a58c4638574826e8026dba9cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.3
|