Parse python files and output a unified list of imported symbols
sfood-imports [options] files...
The imported modules/symbols are output even if they cannot be found. (You could try to do this with grep, but this is more accurate because it uses the AST to obtain the list of imports.)
-h, --help
show the help message and exit
-I IGNORES, --ignore=IGNORES
Add the given directory name to the list to be ignored.
-u, --unified
Just output the unique set of dependencies found, in no particular order, without the filenames. The default is to output all imports, in order of appearance, along with the filename and line number.
-v, --verbose
Output input lines as well.
sfood-graph was written by Martin Blais <[email protected]> and it's part of snakefood suite.
This manual page was written by Sandro Tosi <[email protected]>, for the Debian project (and may be used by others).