{"id":13624080,"url":"https://github.com/python-poetry/poetry-plugin-export","last_synced_at":"2026-01-18T16:05:49.942Z","repository":{"id":37909131,"uuid":"369578766","full_name":"python-poetry/poetry-plugin-export","owner":"python-poetry","description":"Poetry plugin to export the dependencies to various formats","archived":false,"fork":false,"pushed_at":"2025-04-07T20:41:50.000Z","size":674,"stargazers_count":294,"open_issues_count":68,"forks_count":56,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-04-11T09:16:41.341Z","etag":null,"topics":["poetry","poetry-plugin","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/python-poetry.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-21T15:29:52.000Z","updated_at":"2025-04-07T08:28:13.000Z","dependencies_parsed_at":"2023-02-16T15:46:07.570Z","dependency_job_id":"0e9476a7-b84e-4829-85f7-7cb0ea4e4b9e","html_url":"https://github.com/python-poetry/poetry-plugin-export","commit_stats":{"total_commits":185,"total_committers":35,"mean_commits":5.285714285714286,"dds":0.7567567567567568,"last_synced_commit":"a39bc5f6d1f4f69af293ac6712cf5a4c18b8a871"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-poetry%2Fpoetry-plugin-export","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-poetry%2Fpoetry-plugin-export/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-poetry%2Fpoetry-plugin-export/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-poetry%2Fpoetry-plugin-export/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/python-poetry","download_url":"https://codeload.github.com/python-poetry/poetry-plugin-export/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248741144,"owners_count":21154249,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["poetry","poetry-plugin","python"],"created_at":"2024-08-01T21:01:38.630Z","updated_at":"2026-01-18T16:05:49.937Z","avatar_url":"https://github.com/python-poetry.png","language":"Python","readme":"# Poetry Plugin: Export\n\n[![Poetry](https://img.shields.io/endpoint?url=https://python-poetry.org/badge/v0.json)](https://python-poetry.org/)\n\nThis package is a plugin that allows the export of locked packages to various formats.\n\n**Note**: For now, only the `constraints.txt` and `requirements.txt` formats are available.\n\nThis plugin provides the same features as the existing `export` command of Poetry which it will eventually replace.\n\n\n## Installation\n\nOn Poetry 2.0 and newer, the easiest way to add the `export` plugin is to declare it as a required Poetry plugin.\n\n```toml\n[tool.poetry.requires-plugins]\npoetry-plugin-export = \"\u003e=1.8\"\n```\n\nOtherwise, install the plugin via the `self add` command of Poetry.\n\n```bash\npoetry self add poetry-plugin-export\n```\n\nIf you used `pipx` to install Poetry you can add the plugin via the `pipx inject` command.\n\n```bash\npipx inject poetry poetry-plugin-export\n```\n\nOtherwise, if you used `pip` to install Poetry you can add the plugin packages via the `pip install` command.\n\n```bash\npip install poetry-plugin-export\n```\n\n\n## Usage\n\nThe plugin provides an `export` command to export to the desired format.\n\n```bash\npoetry export -f requirements.txt --output requirements.txt\n```\n\n\u003e [!IMPORTANT]\n\u003e When installing an exported `requirements.txt` via `pip`, you should always pass `--no-deps`\n\u003e because Poetry has already resolved the dependencies so that all direct and transitive\n\u003e requirements are included and it is not necessary to resolve again via `pip`.\n\u003e `pip` may even fail to resolve dependencies, especially if `git` dependencies,\n\u003e which are exported with their resolved hashes, are included.\n\n\u003e [!NOTE]\n\u003e The following formats are currently supported:\n\u003e * `requirements.txt`\n\u003e * `constraints.txt`\n\u003e * `pylock.toml`\n\n### Available options\n\n* `--format (-f)`: The format to export to (default: `requirements.txt`). Additionally, `constraints.txt` and `pylock.toml` are supported.\n* `--output (-o)`: The name of the output file.  If omitted, print to standard output.\n* `--with`: The optional and non-optional dependency groups to include. By default, only the main dependencies are included.\n* `--only`: The only dependency groups to include. It is possible to exclude the `main` group this way.\n* `--without`: The dependency groups to ignore. (**Deprecated**)\n* `--default`: Only export the main dependencies. (**Deprecated**)\n* `--dev`: Include development dependencies. (**Deprecated**)\n* `--extras (-E)`: Extra sets of dependencies to include.\n* `--all-extras`: Include all sets of extra dependencies.\n* `--all-groups`: Include all dependency groups.\n* `--without-hashes`: Exclude hashes from the exported file.\n* `--with-credentials`: Include credentials for extra indices.\n","funding_links":[],"categories":["Python","HarmonyOS"],"sub_categories":["Windows Manager"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython-poetry%2Fpoetry-plugin-export","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpython-poetry%2Fpoetry-plugin-export","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython-poetry%2Fpoetry-plugin-export/lists"}