
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
poetry-plugin-export
Advanced tools
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.
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
The plugin provides an export
command to export to the desired format.
poetry export -f requirements.txt --output requirements.txt
Note: Only the constraints.txt
and requirements.txt
formats are currently supported.
--format (-f)
: The format to export to (default: requirements.txt
). Currently, only constraints.txt
and requirements.txt
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.FAQs
Poetry plugin to export the dependencies to various formats
We found that poetry-plugin-export demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.