An open API service indexing awesome lists of open source software.

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.

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
```