Skip to main content

Python module import analysis tool

Project description

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’.

FindImports requires Python 2.4 or later.

Changes

1.2.12 (2011-04-08)

  • Handle zipfile errors when there are plain files that are not zip files on sys.path.

1.2.11 (2011-03-30)

  • Fix ‘could not find cPickle’ errors on Python 2.6 and newer.

1.2.10 (2010-02-05)

  • Ignore ‘from __future__ import …’.

1.2.9 (2009-07-07)

  • Fixed broken and uninstallable source distribution by adding a MANIFEST.in.

1.2.8 (2009-07-07)

  • Is able to find modules inside zip files (e.g. eggs).

  • Fixed deprecation warning on Python 2.6.

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

findimports-1.2.12.tar.gz (14.5 kB view details)

Uploaded Source

File details

Details for the file findimports-1.2.12.tar.gz.

File metadata

File hashes

Hashes for findimports-1.2.12.tar.gz
Algorithm Hash digest
SHA256 5be4c93d0199d1a80324c31d4840681e95e5a25c920daab571893cb510b4d140
MD5 163816afdcbf579d803485e67f869c65
BLAKE2b-256 4ce9dbfde2a8c6c5354de551d9a42c9c352b87837bc98c4f0323cfc0f2a1ff4b

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