snakefood - Python dependency grapher

Property Value
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
* 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
* 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


Package Version Architecture Repository
snakefood_1.4-2_all.deb 1.4 all Ubuntu Universe
snakefood - - -


Name Value
python:any >= 2.7.5-5~


Type URL
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




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)

See Also

Package Description
snakemake_3.5.5+dfsg-1_all.deb pythonic workflow management system
snap_2013-11-29-1ubuntu2_i386.deb location of genes from DNA sequence with hidden markov model
snapcraft-examples_2.8.4_all.deb examples for snapcraft
snapcraft_2.8.4_all.deb easily craft snaps
snappea-dev_3.0d3-23ubuntu1_i386.deb development files for SnapPea hyperbolic 3-manifold tool
snappea_3.0d3-23ubuntu1_i386.deb program for creating and studying hyperbolic 3-manifolds
snapper_0.2.4-1ubuntu1_i386.deb Linux filesystem snapshot management tool
snappy_0.3.7-1.1_i386.deb Powerful media player with a minimalistic interface
snarf_7.0-6_i386.deb command-line URL grabber
snd-doc_16.1-5_all.deb Sound file editor (documentation)
snd-gtk-jack_16.1-5_i386.deb Sound file editor (GTK+ user interface - JACK)
snd-gtk-pulse_16.1-5_i386.deb Sound file editor (GTK+ user interface - PulseAudio)
snd-nox_16.1-5_i386.deb Sound file editor (cmdline)
snd_16.1-5_all.deb Sound file editor
sndfile-programs_1.0.25-10_i386.deb Sample programs that use libsndfile