Find the python dependencies used by your python files and projects
Project description
findpydeps
Find the python dependencies used by your python files and projects.
Installation
Simply install it via pip:
pip install findpydeps
Usage
For the usage, please refer to the python3 -m findpydeps -h
output
Example usage:
python3 -m findpydeps -i "/home/$USER/python/example-project/" test.py ../test2.py
The output can be redirected to a requirements.txt file, like this:
python3 -m findpydeps -i . > requirements.txt
# or maybe a better alternative :
# python3 -m findpydeps -i main.py -l
# or (the same) :
# python3 -m findpydeps --input main.py --follow-local-imports
and then use the generated file:
python3 -m pip install -r requirements.txt
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
findpydeps-0.1.1.tar.gz
(7.4 kB
view hashes)
Built Distribution
Close
Hashes for findpydeps-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3373a9f9e2934d4c42792499e658d9cab6acedffa9955920485f0a7891125b2d |
|
MD5 | 14e84433dc17e7c79202b4651492aa1b |
|
BLAKE2b-256 | c4fb261f95f5b893317383f5d1fa4f45acb2191c31dfe71c15e42fe7b0766abc |