https://github.com/admeeer/polypip
A lightweight python module designed to generate a requirements file for your project.
https://github.com/admeeer/polypip
pip python requirements-tracing
Last synced: 5 months ago
JSON representation
A lightweight python module designed to generate a requirements file for your project.
- Host: GitHub
- URL: https://github.com/admeeer/polypip
- Owner: admeeer
- License: apache-2.0
- Created: 2024-01-21T23:27:43.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-27T18:59:20.000Z (over 1 year ago)
- Last Synced: 2025-11-27T13:08:10.199Z (7 months ago)
- Topics: pip, python, requirements-tracing
- Language: Python
- Homepage:
- Size: 56.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# polypip
A lightweight python module of command line tools to generate a requirements.txt file from your project based on python source file imports.
```
pip install polypip
```
## usage
```
usage:
polypip [options] []
arguments:
path to the directory or file to scan for imports
options:
--reference, --r path to a requirements.txt file to reference versions from
--overwrite, --o overwrite requirements.txt file if it already exists
--shallow, --s do not search for imports recursively
--dry-run preview the requirements.txt that would be generated
--quiet, --q enable quiet mode
--verbose, --v enable verbose mode
```