Skip to main content

Poetry Plugin: Export

Poetry

This package is a plugin that allows the export of locked packages to various formats.

Note: For now, only the constraints.txt and requirements.txt formats are available.

This plugin provides the same features as the existing export command of Poetry which it will eventually replace.

Installation

On Poetry 2.0 and newer, the easiest way to add the export plugin is to declare it as a required Poetry plugin.

[tool.poetry.requires-plugins]
poetry-plugin-export = ">=1.8"

Otherwise, install the plugin via the self add command of Poetry.

poetry self add poetry-plugin-export

If you used pipx to install Poetry you can add the plugin via the pipx inject command.

pipx inject poetry poetry-plugin-export

Otherwise, if you used pip to install Poetry you can add the plugin packages via the pip install command.

pip install poetry-plugin-export

Usage

The plugin provides an export command to export to the desired format.

poetry export -f requirements.txt --output requirements.txt

Available options

  • --format (-f): The format to export to (default: requirements.txt). Additionally, constraints.txt and pylock.toml are supported.
  • --output (-o): The name of the output file. If omitted, print to standard output.
  • --with: The optional and non-optional dependency groups to include. By default, only the main dependencies are included.
  • --only: The only dependency groups to include. It is possible to exclude the main group this way.
  • --without: The dependency groups to ignore. (Deprecated)
  • --default: Only export the main dependencies. (Deprecated)
  • --dev: Include development dependencies. (Deprecated)
  • --extras (-E): Extra sets of dependencies to include.
  • --all-extras: Include all sets of extra dependencies.
  • --all-groups: Include all dependency groups.
  • --without-hashes: Exclude hashes from the exported file.
  • --with-credentials: Include credentials for extra indices.

Metadata

Release files for poetry-plugin-export 1.10.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for poetry-plugin-export 1.10.2
File Size Uploaded Provenance Actions
poetry_plugin_export-1.10.2.tar.gz 37.6 kB With provenance Details for poetry_plugin_export-1.10.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for poetry-plugin-export 1.10.2
File Interpreter ABI Platform Actions
poetry_plugin_export-1.10.2-py3-none-any.whl Python 3 none any Details for poetry_plugin_export-1.10.2-py3-none-any.whl

Total release size: 51.2 kB

Release files / poetry_plugin_export-1.10.2.tar.gz

Download URL poetry_plugin_export-1.10.2.tar.gz
Size 37.6 kB
Tags Source
SHA-256 checksum
How to use checksums
36c344f5876e55489b4c1001b6151eccc86eb02ec1d2f21b132cfe190dc736b1
BLAKE2b-256 checksum
How to use checksums
3ff840b59ce394e0f38144894216bf4c455882cd4ffbc720e7a8c901bbd4a240
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Release files / poetry_plugin_export-1.10.2-py3-none-any.whl

Download URL poetry_plugin_export-1.10.2-py3-none-any.whl
Size 13.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f210c3f3c3155a51b83d37380884766a4f3fa62895adde2f3a11addb665eb5a2
BLAKE2b-256 checksum
How to use checksums
9c189d6fdd1689305d16093ddbf12e37af81a11d97da3bf5f04aa8e1b10b0bb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Security for poetry-plugin-export 1.10.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for poetry_plugin_export-1.10.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page