Skip to main content

A module import dependency graph for Python projects.

Project description

Modulegraph2 is a library for creating and introspecting the dependency graph between Python modules. The graph is created using static analisys from source and byte code.

The dependency graph contains information about packages, modules, extensions and their dependencies. The dependencies are annotated with relevant information about the import statement.

Modules that from a distribution installed using pip also have a link to information about that distribution.

There is documentation at readthedocs

CI Status


Modulegraph2 is a complete rewrite of modulegraph, using lessons learned in that project but with a complete new Python 3 code base and full test coverage.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

modulegraph2-2.2.1.tar.gz (157.8 kB view hashes)

Uploaded source

Built Distribution

modulegraph2-2.2.1-py3-none-any.whl (35.5 kB view hashes)

Uploaded py3

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