Convert a pyproject.toml file to a requirements.txt file
Project description
TOML to Requirements
Simple script to convert a pyproject.toml file to a requirements.txt file.
Does not support poetry projects! They have their own converter tools.
Installation
Install with pip:
pip install toml-to-requirements
Usage
Run the following command to generate a requirements.txt file without including optional dependencies:
toml-to-req --toml-file pyproject.toml
To include optional dependencies, include the --include-optional
flag in the above command:
toml-to-req --toml-file pyproject.toml --include-optional
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file toml_to_requirements-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: toml_to_requirements-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ca25158b4cc56812e61f564e91bbb82d854251218364131a565d450cd56705b |
|
MD5 | daf0ea9a31a20488902533dcc66bab09 |
|
BLAKE2b-256 | 9807ef2f2772dad2d9c899674424fab9d5f18953f70fb7d6b39855091f342509 |