Metadata-Version: 2.1
Name: toml_to_requirements
Version: 0.2.2
Summary: Convert a pyproject.toml file to a requirements.txt file
License: MIT
Keywords: toml,requirements,converter,parser
Author: Jake Cyr
Author-email: cyrjake@gmail.com
Requires-Python: >=3.9,<4.0
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: toml (>=0.10.2,<0.11.0)
Description-Content-Type: text/markdown

# 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:

```bash
pip install toml-to-requirements
```

## Usage

Run the following command to generate a requirements.txt file without including optional dependencies:

```bash
toml-to-req --toml-file pyproject.toml
```

To include optional dependencies, include the `--optional-lists` flag in the above command:

```bash
toml-to-req --toml-file pyproject.toml --optional-lists dev,test
```

