Skip to main content

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


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)

Uploaded Source

Built Distribution

findpydeps-0.1.1-py3-none-any.whl (7.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page