poetry-to-requirements


Namepoetry-to-requirements JSON
Version 1.0.0 PyPI version JSON
download
home_pagehttps://github.com/christopherpickering/pre-commit-hooks.git
SummaryPre-commit hook to convert Poetry dependancies to pip requirements.txt.
upload_time2023-01-25 16:38:57
maintainer
docs_urlNone
authorChristopher Pickering
requires_python>=3.7.2,<4.0.0
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Pre-commit hooks

## Poetry to Pip requirements

This pre-commit hook can be used to generate a (`requirements`)[https://pip.pypa.io/en/stable/user_guide/#requirements-files] file for pip from Poetry's dependency list.

### General Usage

In each of your repos, add a file called .pre-commit-config.yaml with the following contents:

```yaml
repos:
  - repo: https://github.com/christopherpickering/pre-commit-hooks
    rev: <VERSION> # Get the latest from: https://github.com/christopherpickering/pre-commit-hooks/releases
    hooks:
      - id: poetry-to-requirements
        args: [--dev,--output=subfolder/requirements.txt]

```

### Arguments

 -  --dev: include dev requirements. Default= False
 -  --output=folder/requirements.txt: output file name. Default= requirements.txt. This path should be relative to the --input path.
 -  (optional) --input=path/to/project_root: path to the project root. Default= .

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/christopherpickering/pre-commit-hooks.git",
    "name": "poetry-to-requirements",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7.2,<4.0.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "Christopher Pickering",
    "author_email": "christopher@going.bg",
    "download_url": "https://files.pythonhosted.org/packages/17/7d/667cf74ea9b30c6955d73bebe46aef6cc55737c95cfb08643ec764bc252f/poetry_to_requirements-1.0.0.tar.gz",
    "platform": null,
    "description": "# Pre-commit hooks\n\n## Poetry to Pip requirements\n\nThis pre-commit hook can be used to generate a (`requirements`)[https://pip.pypa.io/en/stable/user_guide/#requirements-files] file for pip from Poetry's dependency list.\n\n### General Usage\n\nIn each of your repos, add a file called .pre-commit-config.yaml with the following contents:\n\n```yaml\nrepos:\n  - repo: https://github.com/christopherpickering/pre-commit-hooks\n    rev: <VERSION> # Get the latest from: https://github.com/christopherpickering/pre-commit-hooks/releases\n    hooks:\n      - id: poetry-to-requirements\n        args: [--dev,--output=subfolder/requirements.txt]\n\n```\n\n### Arguments\n\n -  --dev: include dev requirements. Default= False\n -  --output=folder/requirements.txt: output file name. Default= requirements.txt. This path should be relative to the --input path.\n -  (optional) --input=path/to/project_root: path to the project root. Default= .\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Pre-commit hook to convert Poetry dependancies to pip requirements.txt.",
    "version": "1.0.0",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a9bce5430216d53504e83a786a4b238dd0c95ef216ca29100bc201a15da6d768",
                "md5": "1859e31c02378fba7ab877f2004677bb",
                "sha256": "600256764f26df6dfac67c467af9d00ded3a1f05284aa0b508de25371715d22b"
            },
            "downloads": -1,
            "filename": "poetry_to_requirements-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1859e31c02378fba7ab877f2004677bb",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7.2,<4.0.0",
            "size": 3843,
            "upload_time": "2023-01-25T16:38:55",
            "upload_time_iso_8601": "2023-01-25T16:38:55.605166Z",
            "url": "https://files.pythonhosted.org/packages/a9/bc/e5430216d53504e83a786a4b238dd0c95ef216ca29100bc201a15da6d768/poetry_to_requirements-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "177d667cf74ea9b30c6955d73bebe46aef6cc55737c95cfb08643ec764bc252f",
                "md5": "29bd380a43dc1ef1b06bbd384c13cad0",
                "sha256": "be9d7d7e31780e8666b7f1c2aed336736596913a2ce255d67658c5806951b747"
            },
            "downloads": -1,
            "filename": "poetry_to_requirements-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "29bd380a43dc1ef1b06bbd384c13cad0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7.2,<4.0.0",
            "size": 3289,
            "upload_time": "2023-01-25T16:38:57",
            "upload_time_iso_8601": "2023-01-25T16:38:57.298754Z",
            "url": "https://files.pythonhosted.org/packages/17/7d/667cf74ea9b30c6955d73bebe46aef6cc55737c95cfb08643ec764bc252f/poetry_to_requirements-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-25 16:38:57",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "christopherpickering",
    "github_project": "pre-commit-hooks.git",
    "lcname": "poetry-to-requirements"
}
        
Elapsed time: 0.42993s