Skip to main content

Dependency Graphing for Python3

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

snakefood3-0.0.7.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

snakefood3-0.0.7-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file snakefood3-0.0.7.tar.gz.

File metadata

  • Download URL: snakefood3-0.0.7.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.8.10 Windows/10

File hashes

Hashes for snakefood3-0.0.7.tar.gz
Algorithm Hash digest
SHA256 5d66a11412fad9d79411921a8aa021a79a97ee214791972bb252804ea60d37ad
MD5 61e5deffdc03cbc648ea1ecd55ed0a7b
BLAKE2b-256 222f265ee86a49656c1f4a183e9a58dcb2c8fcefc6778fc6f7130a7334ade5fd

See more details on using hashes here.

File details

Details for the file snakefood3-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: snakefood3-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.8.10 Windows/10

File hashes

Hashes for snakefood3-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d9065ca42d44a2290dc24b8a894fdb65e1278af8f4ce3af5c3c9d60f5bee9e50
MD5 24858bcedf0e04510c2e4130d0daa821
BLAKE2b-256 0ec5d6e50de1c8b20f482fe24def827c25979686e91b8fafddfbad135172d3b3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page