Req2Toml
Adding the dependencies from requirements.txt to pyproject.toml and poetry.lock with one command 😉
Install
$ pip install req2toml
Usages
The entrypoint of the converter is req2lock
Options
-f[required] The path to therequirements.txt--install[optional] By default, it will only update the lock, add this flag to install the dependencies at the same time.--dev[optional] By default, the flag is disable, pass--devto add packages to dev section.-v: Enable verbose mode to print out the debug logs
# Only update the poetry.lock
$ req2lock -f requirements.txt
# Install
$ req2lock -f requirements.txt --install
# To dev
$ req2lock -f requirements_test.txt --install --dev
Contributing
PR is always welcome <3
Metadata
Release files for req2toml 1.2.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 |
|---|---|---|---|---|
| req2toml-1.2.0.tar.gz | 8.7 kB | Without provenance | Details for req2toml-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| req2toml-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for req2toml-1.2.0-py3-none-any.whl |
Total release size: 18.9 kB
Release files / req2toml-1.2.0.tar.gz
| Download URL | req2toml-1.2.0.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f32f2853fce236a3c92bcc80e010f4dade05dd0a9a4cb81b9e4712cf855c39cf
|
|
BLAKE2b-256 checksum How to use checksums |
e04e45753eddf751be715fdf716de9977619d809c0cb4c06774ddfc610536230
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/57.0.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.10
|
Release files / req2toml-1.2.0-py3-none-any.whl
| Download URL | req2toml-1.2.0-py3-none-any.whl |
|---|---|
| Size | 10.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d0b66b7841d3c9ed8902ff3415f90c3010e26e7126b9d12efcb4460218873cb3
|
|
BLAKE2b-256 checksum How to use checksums |
9160a6e240af80290e0f1d8ae8a43fc0f2ad5a38614259ece194c1b0583a44c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/57.0.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.10
|
Security for req2toml 1.2.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.