pipfile-requirements
CLI tool to covert Pipfile/Pipfile.lock to requirments.txt
Required Python version
>=2.7, >=3.4
What does it do?
The tool is built on top of requirementslib to provide a simple CLI to convert the Pipenv-managed files to requirements.txt.
Pipenv is a great tool for managing virtualenvs and dependencies, but it may be not that useful in deployment. Pip installation is much faster than Pipenv manipulation, since the latter needs extra requests to PyPI for hash checking. Installing a Pipenv in deployment may be overkilled. We just need a requirements.txt to tell CI or production server which packages and versions should be installed.
Installation
$ pip install pipfile-requirements
An executable named pipfile2req will be ready for use in the bin path.
Usage:
$ pipfile2req --help
usage: pipfile2req [-h] [-p PROJECT] [--hashes] [-d] [file]
positional arguments:
file The file path to covert, support both Pipfile and
Pipfile.lock. If it isn't given, will try Pipfile.lock
first then Pipfile.
optional arguments:
-h, --help show this help message and exit
-p PROJECT, --project PROJECT
Specify another project root
--hashes whether to include the hashes
-d, --dev whether to choose the dev-dependencies section
-s, --sources whether to include extra PyPi indexes
License
Others
It is my first time to use Poetry to manage my project, related to Pipenv, lol.
Metadata
Release files for pipfile-requirements 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pipfile-requirements-0.3.0.tar.gz | 15.4 kB | Without provenance | Details for pipfile-requirements-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pipfile_requirements-0.3.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for pipfile_requirements-0.3.0-py2.py3-none-any.whl |
Total release size: 21.7 kB
Release files / pipfile-requirements-0.3.0.tar.gz
| Download URL | pipfile-requirements-0.3.0.tar.gz |
|---|---|
| Size | 15.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d47591d46d8bfecf9257967992feae31fa83aff7ab6417373c7de5ea92ab849f
|
|
BLAKE2b-256 checksum How to use checksums |
730989edeb683659538a2e92722efc10f928e9f89529655526caa50897708336
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.4
|
Release files / pipfile_requirements-0.3.0-py2.py3-none-any.whl
| Download URL | pipfile_requirements-0.3.0-py2.py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
dc2ff7515ce35f8b37a500e87e7b9cd39f0f5c18eb6024543366eb6d4226869b
|
|
BLAKE2b-256 checksum How to use checksums |
b46aba38a67f3b6954a2c434e3cc3f3e3db396b59e7f80a310801dea615b66a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.4
|
Security for pipfile-requirements 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.