Impulse

https://img.shields.io/pypi/v/impulse.svg Python versions https://api.travis-ci.org/seddonym/impulse.svg?branch=master
  • Free software: BSD license

Impulse is a command line tool for exploring the imports in a Python package.

It can be used to produce dependency graphs such as this:

Graph of flask package.

Warning: This software is currently in beta. It is undergoing active development, and breaking changes may be introduced between versions.

Installation

Install Impulse:

pip install impulse

Install the Python package you wish to analyse:

pip install somepackage

Command overview

There is currently only one command, feel free to suggest more by opening an issue or pull request.

drawgraph

Draw a graph of the dependencies within any installed Python package or subpackage.

Command:

impulse drawgraph django.db

Output:

Graph of django.db package.