toml-to-requirements


Nametoml-to-requirements JSON
Version 0.3.0 PyPI version JSON
download
home_pageNone
SummaryConvert a pyproject.toml file to a requirements.txt file
upload_time2024-04-11 03:32:06
maintainerNone
docs_urlNone
authorJake Cyr
requires_python<=3.12,>=3.9
licenseMIT
keywords toml requirements converter parser
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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

### Basic

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

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

### Optional Dependencies

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
```

### Poetry

To convert a poetry project, run the following command:

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

## License

MIT


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "toml-to-requirements",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<=3.12,>=3.9",
    "maintainer_email": null,
    "keywords": "toml, requirements, converter, parser",
    "author": "Jake Cyr",
    "author_email": "cyrjake@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/58/8b/97422a77a1391e855c7e07dc2e8201061176aceee0d0a1d6bbbf9056f4c6/toml_to_requirements-0.3.0.tar.gz",
    "platform": null,
    "description": "# TOML to Requirements\n\nSimple script to convert a pyproject.toml file to a requirements.txt file.\n\nDoes not support poetry projects! They have their own converter tools.\n\n## Installation\n\nInstall with pip:\n\n```bash\npip install toml-to-requirements\n```\n\n## Usage\n\n### Basic\n\nRun the following command to generate a requirements.txt file without including optional dependencies:\n\n```bash\ntoml-to-req --toml-file pyproject.toml\n```\n\n### Optional Dependencies\n\nTo include optional dependencies, include the `--optional-lists` flag in the above command:\n\n```bash\ntoml-to-req --toml-file pyproject.toml --optional-lists dev,test\n```\n\n### Poetry\n\nTo convert a poetry project, run the following command:\n\n```bash\ntoml-to-req --toml-file pyproject.toml --poetry\n```\n\n## License\n\nMIT\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Convert a pyproject.toml file to a requirements.txt file",
    "version": "0.3.0",
    "project_urls": null,
    "split_keywords": [
        "toml",
        " requirements",
        " converter",
        " parser"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "37dab633c0c56489848e7320f381665e6262aa6ce0c1d3e9ea4c866361f3f8ed",
                "md5": "11cfb80bb7b11da63664b335d9f2a32a",
                "sha256": "ccca410f33c360755fc575aba4fe639544f8b5c75a104bb61d3d4da9b4d0e9bb"
            },
            "downloads": -1,
            "filename": "toml_to_requirements-0.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "11cfb80bb7b11da63664b335d9f2a32a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<=3.12,>=3.9",
            "size": 4256,
            "upload_time": "2024-04-11T03:32:04",
            "upload_time_iso_8601": "2024-04-11T03:32:04.802308Z",
            "url": "https://files.pythonhosted.org/packages/37/da/b633c0c56489848e7320f381665e6262aa6ce0c1d3e9ea4c866361f3f8ed/toml_to_requirements-0.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "588b97422a77a1391e855c7e07dc2e8201061176aceee0d0a1d6bbbf9056f4c6",
                "md5": "473e9bf30515bfb1d60c667f763222af",
                "sha256": "54b08feb02b0cfea0fbd1d634f06af67a21d5f5616c4a510cddb1a005e07c62f"
            },
            "downloads": -1,
            "filename": "toml_to_requirements-0.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "473e9bf30515bfb1d60c667f763222af",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<=3.12,>=3.9",
            "size": 2821,
            "upload_time": "2024-04-11T03:32:06",
            "upload_time_iso_8601": "2024-04-11T03:32:06.359657Z",
            "url": "https://files.pythonhosted.org/packages/58/8b/97422a77a1391e855c7e07dc2e8201061176aceee0d0a1d6bbbf9056f4c6/toml_to_requirements-0.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-11 03:32:06",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "toml-to-requirements"
}
        
Elapsed time: 1.86759s