Ashura5 / snakefood3

python3 dependency graphs generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

snakefood3: Python Dependency Graphs

Dependencies

  • Python 3.
  • jinja2

Download

pip install snakefood3

Usage

python -m snakefood3 PROJECT_PATH PYTHON_PACKAGE_NAME --group examples/group

file tree should be look like this

PROJECT_PATH
└─PYTHON_PACKAGE_NAME
   ├─a python package
   ├─another python package
   ├─a.py
   ├─b.py
   └─__init__.py

PYTHON_PACKAGE_NAME should be in PROJECT_PATH

--group if you want to group some package, for example you want to group a.lib.b and a.lib.c as a.lib write a file like

a.lib

all submodule will be grouped together.

python -m snakefood3 ~/code/bgmi/ bgmi -g examples/group > examples/bgmi.dot
dot -T png examples/bgmi.dot -o examples/bgmi.png # install graphviz

show example in example

Copyright and License

Copyright (C) 2019 Trim21<github@trim21.me>. All Rights Reserved.

Copyright (C) 2001-2007 Martin Blais. All Rights Reserved.

This code is distributed under the GNU General Public License <COPYING>;

Author

Trim21 github@trim21.me

Martin Blais blais@furius.ca

About

python3 dependency graphs generator


Languages

Language:Python 100.0%