dep2req
Overview
With dep2req you can extract dependencies from pyproject.toml files to requirements.txt in seconds. No more waiting for pip-compile to finish.
Installation
pip install dep2req
Usage
Simply run in any directory containing a pyproject.toml file:
dep2req
and a requirements.txt will be created in the current working directory.
usage: dep2req [-h] [-f FILENAME] [-a] [-s OPTIONAL_SECTIONS] [-o OUTPUT] [-v]
optional arguments:
-h, --help show this help message and exit
-f FILENAME, --filename FILENAME
path to the input pyproject.toml file
-a, --add-optional whether to include "optional-dependencies" [defaults
to including all sections]
-s OPTIONAL_SECTIONS, --optional-sections OPTIONAL_SECTIONS
name(s) of "optional-dependencies" section(s) to
include, comma-delimited
-o OUTPUT, --output OUTPUT
path to the output requirements.txt file
-v, --verbose print details about what the script is doing
Metadata
Release files for dep2req 1.0.5
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 |
|---|---|---|---|---|
| dep2req-1.0.5.tar.gz | 9.0 kB | Without provenance | Details for dep2req-1.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dep2req-1.0.5-py3-none-any.whl | Python 3 | none | any | Details for dep2req-1.0.5-py3-none-any.whl |
Total release size: 19.0 kB
Release files / dep2req-1.0.5.tar.gz
| Download URL | dep2req-1.0.5.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8941e0b23f451655aad74b2aea90d4b0a07d2a7912c5396d5fcd9bbc91e66baa
|
|
BLAKE2b-256 checksum How to use checksums |
4a8ed397b65e2ad2da660817649eab144b3b12fbadf58e7130d9e389fc76e6dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.8.2 CPython/3.11.4
|
Release files / dep2req-1.0.5-py3-none-any.whl
| Download URL | dep2req-1.0.5-py3-none-any.whl |
|---|---|
| Size | 10.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
368bb48ede08fca64dd11ca0bb45e48e772445b5ca01cf67b373cb708cfdcd07
|
|
BLAKE2b-256 checksum How to use checksums |
15565eac698d3db599a357e70d1c5db0d1f9e520786637dc2512b9db3ea6aa88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.8.2 CPython/3.11.4
|
Security for dep2req 1.0.5
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.