https://github.com/gregorybchris/dependy
Python project dependency analyzer
https://github.com/gregorybchris/dependy
Last synced: 11 months ago
JSON representation
Python project dependency analyzer
- Host: GitHub
- URL: https://github.com/gregorybchris/dependy
- Owner: gregorybchris
- License: apache-2.0
- Created: 2019-09-23T07:37:04.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-08T10:04:17.000Z (over 6 years ago)
- Last Synced: 2025-01-12T15:12:39.787Z (12 months ago)
- Language: Python
- Size: 926 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Dependy
[](https://codecov.io/gh/gregorybchris/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:
```python
pip install dependy
```
Or install from source:
```python
pip install git+https://github.com/gregorybchris/dependy
```
## Usage
### Command Line
```bash
dependy -p "full/path/to/my/package"
```
### Python Script
```python
from dependy.core.dependy_config import DependyConfig
from dependy.parsing.dependency_parser import DependencyParser
from dependy.visual.visualizer import Visualizer
# Create a configuration to be used by dependy
config = DependyConfig(graph_filename='graph.json', port=5000, debug=False)
# Parse the files of your package into a dependy graph
parser = DependencyParser('full/path/to/my/package', config=config)
parser.parse_dependencies()
# Visualize the dependency graph in the browser
visualizer = Visualizer(config=config)
visualizer.start()
```
## Complete
- [x] Graph visualization in the browser
## Future
- [ ] Multi-package support
- [ ] Hierarchical dependency tracking
- [ ] Make app interactive