zzzeek / findimports

Static analysis of Python import statements

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FindImports

FindImports extracts Python module dependencies by parsing source files. It can report names that are imported but not used, and it can generate module import graphs in ASCII or graphviz formats.

A distinguishing feature of findimports is that it can parse doctest code inside docstrings.

Note that not all cases are handled correctly, especially if you use 'import foo.bar.baz'.

Misc

Home page: https://github.com/mgedmin/findimports

Old project page: https://launchpad.net/findimports

Licence: GPL v2 or later (http://www.gnu.org/copyleft/gpl.html)

buildstatus coverage

About

Static analysis of Python import statements


Languages

Language:Python 100.0%