semvec/pypi-packages huggingface dataset:
find-py-dependencies 0.0.1
Find the python dependencies used by your python files and projects
Requires Python: >=3.6

# find-py-dependencies
Find the python dependencies used by your python files and projects.

For the usage, please refer to the `./find-py-dependencies.py -h` output

Example usage:
```
./find-py-dependencies.py -i "/home/$USER/python/example-project/" test.py ../test2.py
```

The output can be redirected to a requirements.txt file, like this:
```
./find-py-dependencies.py -i . > requirements.txt
# or maybe a better alternative :
# ./find-py-dependencies.py -i main.py -l
# or (the same) :
# ./find-py-dependencies.py --input main.py --follow-local-imports
```
and then use the generated file:
```
python -m pip install -r requirements.txt
```
find-py-dependencies-ilu-vatar-0 0.0.1
Find the python dependencies used by your python files and projects
Requires Python: >=3.6

# find-py-dependencies
Find the python dependencies used by your python files and projects.

## Installation (for advanced usage only)

Run the pypi module list update script:
```
./update-pypi-list.sh
```

Alternatively, run this:
```
wget -O - https://pypi.org/simple/ | grep '<a href=' | awk '$2' | cut -d '>' -f 2 | cut -d '<' -f 1 | awk '$0 ~ /^[A-z_][A-z_0-9]*$/' | grep "\S" > pypi-module-list.txt
```

For the usage, please refer to the `./find-py-dependencies.py -h` output

Example usage:
```
./find-py-dependencies.py -i "/home/$USER/python/example-project/" test.py ../test2.py
```


The output can be redirected to a requirements.txt file, like this:
```
./find-py-dependencies.py -i . > requirements.txt
# or maybe a better alternative :
# ./find-py-dependencies.py -i main.py -l
# or (the same) :
# ./find-py-dependencies.py --input main.py --follow-local-imports
```
and then use the generated file:
```
python -m pip install -r requirements.txt
```