Skip to main content

Python project dependency analysis.

Project description

Dependy

Dependy is a dependency grapher for Python projects. Use this tool to efficiently restructure code and clean up dependencies.

Installation

Install the current PyPI release:

pip install dependy

Or install from source:

pip install git+https://github.com/gregorybchris/dependy

Usage

Create a graph representation of your package

from dependy.parsing.parsing_config import ParsingConfig
from dependy.parsing.dependency_parser import DependencyParser

config = ParsingConfig(graph_filename='graph.json')
parser = DependencyParser('full/path/to/my/package', config=config)
parser.parse_dependencies()

Visualize that graph in the browser

from dependy.visualization.visualization_config import VisualizationConfig
from dependy.visualization.visualizer import Visualizer

config = VisualizationConfig(port=5000, debug=True, graph_filename='graph.json')
visualizer = Visualizer(config=config)
visualizer.start()

Complete

  • [x] Graph visualization in the browser

Future

  • [ ] Multi-package support
  • [ ] Hierarchical dependency tracking
  • [ ] Make app interactive

Project details


Download files

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

Files for dependy, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size dependy-0.1.4-py3-none-any.whl (285.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size dependy-0.1.4.tar.gz (276.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page