snakefood - Python dependency grapher

Distribution: Ubuntu 16.04 LTS (Xenial Xerus)
Repository: Ubuntu Universe i386
Package name: snakefood
Package version: 1.4
Package release: 2
Package architecture: all
Package type: deb
Installed size: 205 B
Download size: 61.94 KB
Official Mirror:
Generate dependency graphs from Python code. This dependency tracker package has a few distinguishing characteristics: * It uses the AST to parse the Python files. This is very reliable, it always runs. * No module is loaded. Loading modules to figure out dependencies is almost always problem, because a lot of codebases run initialization code in the global namespace, which often requires additional setup. Snakefood is guaranteed not to have this problem (it just runs, no matter what). * It works on a set of files, i.e. you do not have to specify a single script, you can select a directory (package or else) or a set of files. It finds all the Python files recursively automatically. * Automatic/no configuration: your PYTHONPATH is automatically adjusted to include the required package roots. It figures out the paths that are required from the files/directories given as input. You should not have to setup ANYTHING. * It does not have to automatically 'follow' dependencies between modules, i.e. by default it only considers the files and directories you specify on the command-line and their immediate dependencies. It also has an option to automatically include only the dependencies within the packages of the files you specify. * It follows the UNIX philosophy of small programs that do one thing well: it consists of a few simple programs whose outputs you combine via pipes. This package will install the following programs: * sfood - detect import statements using the AST parser * sfood-checker - check for superfluous import statements in Python source code * sfood-cluster - read snakefood dependencies from stdin and cluster according to filenames * sfood-copy - read a snakefood dependencies file and flatten and output the list of all files * sfood-flatten - read a snakefood dependencies file and flatten and output the list of all files * sfood-graph - read snakefood dependencies and output a visual graph * sfood-imports - parse Python files and output a unified list of imported symbols



    Binary package: snakefood_1.4-2_all.deb
    Source package: snakefood

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install snakefood deb package:
      # sudo apt-get install snakefood


    • /usr/bin/sfood
    • /usr/bin/sfood-checker
    • /usr/bin/sfood-cluster
    • /usr/bin/sfood-copy
    • /usr/bin/sfood-flatten
    • /usr/bin/sfood-graph
    • /usr/bin/sfood-imports
    • /usr/share/doc-base/snakefood
    • /usr/share/doc/snakefood/README
    • /usr/share/doc/snakefood/TODO
    • /usr/share/doc/snakefood/changelog.Debian.gz
    • /usr/share/doc/snakefood/copyright
    • /usr/share/doc/snakefood/dataflow.dia.gz
    • /usr/share/doc/snakefood/programs1.dia.gz
    • /usr/share/doc/snakefood/programs1.png
    • /usr/share/doc/snakefood/programs2.dia.gz
    • /usr/share/doc/snakefood/programs2.png
    • /usr/share/doc/snakefood/snakefood-doc.html
    • /usr/share/doc/snakefood/snakefood-doc.txt.gz
    • /usr/share/man/man1/sfood-checker.1.gz
    • /usr/share/man/man1/sfood-cluster.1.gz
    • /usr/share/man/man1/sfood-copy.1.gz
    • /usr/share/man/man1/sfood-flatten.1.gz
    • /usr/share/man/man1/sfood-graph.1.gz
    • /usr/share/man/man1/sfood-imports.1.gz
    • /usr/share/man/man1/sfood.1.gz
    • /usr/share/python/runtime.d/snakefood.rtupdate
    • /usr/share/snakefood/sfood
    • /usr/share/snakefood/sfood-checker
    • /usr/share/snakefood/sfood-cluster
    • /usr/share/snakefood/sfood-copy
    • /usr/share/snakefood/sfood-filter-stdlib
    • /usr/share/snakefood/sfood-flatten
    • /usr/share/snakefood/sfood-graph
    • /usr/share/snakefood/sfood-imports
    • /usr/share/snakefood/sfood-target-files
    • /usr/share/snakefood/snakefood-1.4.egg-info
    • /usr/share/snakefood/snakefood/
    • /usr/share/snakefood/snakefood/
    • /usr/share/snakefood/snakefood/
    • /usr/share/snakefood/snakefood/
    • /usr/share/snakefood/snakefood/
    • /usr/share/snakefood/snakefood/
    • /usr/share/snakefood/snakefood/
    • /usr/share/snakefood/snakefood/
    • /usr/share/snakefood/snakefood/
    • /usr/share/snakefood/snakefood/
    • /usr/share/snakefood/snakefood/
    • /usr/share/snakefood/snakefood/
    • /usr/share/snakefood/snakefood/
    • /usr/share/snakefood/snakefood/
    • /usr/share/snakefood/snakefood/
    • /usr/share/snakefood/snakefood/fallback/
    • /usr/share/snakefood/snakefood/fallback/
    • /usr/share/snakefood/snakefood/fallback/


    2015-09-01 - Python Applications Packaging Team <> snakefood (1.4-2) unstable; urgency=medium [ Jakub Wilk ] * Use canonical URIs for Vcs-* fields. [ Andrey Rahmatullin ] * Port from python-support to dh-python (Closes: #786114). * Drop unnecessary XB-Python-Version.

    2009-10-07 - Sandro Tosi <> snakefood (1.4-1) unstable; urgency=low * New upstream release * debian/watch - updated to use PyPi, new location for tarball releases * debian/control - let the package be compatible with Python version from 2.5 on (setting XS-Python-Version accordingly); thanks to Alessio Treglia for the report and to Piotr O┼╝arowski for suggestions; Closes: #527047 - bump Standards-Version to 3.8.3 (no changes needed) * debian/{rules, sfood*.1} - removed manpages: they were merged into upstream tarball * debian/copyright - fixed debian copyright notice * debian/snakefood.doc-base - added doc-base

    2009-01-04 - Sandro Tosi <> snakefood (1.3.1-2) unstable; urgency=low * debian/control - set PAPT as maintainer - set me as uploader

    2009-01-04 - Sandro Tosi <> snakefood (1.3.1-1) unstable; urgency=low * Initial release (Closes: #510350)