Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ashishb/python_dep_generator
Genrates python dependency graph
https://github.com/ashishb/python_dep_generator
dependency-graph python
Last synced: about 2 months ago
JSON representation
Genrates python dependency graph
- Host: GitHub
- URL: https://github.com/ashishb/python_dep_generator
- Owner: ashishb
- License: mit
- Created: 2013-12-14T05:35:21.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-08-10T06:25:04.000Z (about 6 years ago)
- Last Synced: 2024-07-24T21:06:47.131Z (about 2 months ago)
- Topics: dependency-graph, python
- Language: Python
- Size: 6.84 KB
- Stars: 22
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
python_dep_generator
====================Generates python code dependency graph
**Install**: `sudo pip install python_dep_generator`
**Usage**: `generate-dep [-h] [-s] path`
**Arguments**:
*path* path (or dir) of the python file (or all python files
under it).**Optional arguments**:
-h, --help : show this help message and exit
-s, --small_list : Pass -s to hide system packages and get a smaller list.Sample outputs
--------------
```
$ generate-dep generate_dep.pygenerate_dep.py
|_ argparse
|_ importlib
|_ inspect
|_ logging
|_ os
|_ sys
|_ traceback
|_ types
``````
$ generate-dep samplessamples/module1.py
|_ os
|_ syssamples/module2.py
|_ sys
|_ time
|_ /home/ashishb/src/python_dep_generator/samples/module1.py
``````
$ generate-dep -s samplessamples/module1.py
samples/module2.py
|_ /home/ashishb/src/python_dep_generator/samples/module1.py```
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/ashishb/python_dep_generator/trend.png)](https://bitdeli.com/free "Bitdeli Badge")