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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file genre-0.1.1.tar.gz.
File metadata
- Download URL: genre-0.1.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d81a1377eba1281813d8da220aceadce5cc697b57157332a37cdd8dd2bade20
|
|
| MD5 |
6e2b68acddc08d08c429d2b50f4f0513
|
|
| BLAKE2b-256 |
c40323ac0aaadb440d4edb1e6594b9102218b8e44377e7f3419b6bdff1d260cb
|
File details
Details for the file genre-0.1.1-py2.py3-none-any.whl.
File metadata
- Download URL: genre-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cfcf2b3463cfa63453844dd45ea3562afb84c9391dde157a25b8538c6b874050
|
|
| MD5 |
c38c348c12afbe9e253eeb4762c97ecc
|
|
| BLAKE2b-256 |
3ea398c8a360e0163d20f45edcadd42978bee65b5b649c7ed17fab41f128eb04
|