a concise and simple requirements.txt generator
Project description
Introduction
genre, a simple and concise requirements.txt
generator.
When using pip freeze > requirements.txt
, many indirect dependencies are listed, which is not elegant. This simple tool aims to provide a concise requirements.txt
, which means it only export direct third-party dependencies or imports in your project.
Install
pip install genre
Usage
usage: genre [-h] [-p PACKAGE_DIR] [-v {0,1}]
optional arguments: -h, --help show this help message and exit -p PACKAGE_DIR, --package_dir PACKAGE_DIR your package path -v {0,1}, --add_version {0,1} add version (1) or not (0)
FAQ
Q: What does "Below are unsure project names (manual check needed)" mean?
A: Normally, this message should not appear in generated requirements.txt
. If you see it unluckily, it means one third-party import in your project is mapped to multiple packages. Manual check is needed to verify which package(s) is/are real dependency(ies).
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
Built Distribution
Hashes for genre-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfcf2b3463cfa63453844dd45ea3562afb84c9391dde157a25b8538c6b874050 |
|
MD5 | c38c348c12afbe9e253eeb4762c97ecc |
|
BLAKE2b-256 | 3ea398c8a360e0163d20f45edcadd42978bee65b5b649c7ed17fab41f128eb04 |