Poetry plugin to export the dependencies to various formats
Project description
Poetry Plugin: Export
This package is a plugin that allows the export of locked packages to various formats.
Note: For now, only the requirements.txt format is available.
This plugin provides the same features as the existing export command of Poetry which it will eventually replace.
Installation
The easiest way to install the export plugin is via the plugin add command of Poetry.
poetry plugin 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
Note: Only the requirements.txt format is currently supported.
Available options
--format (-f): The format to export to (default:requirements.txt). Currently, onlyrequirements.txtis supported.--output (-o): The name of the output file. If omitted, print to standard output.--without: The dependency groups to ignore when exporting.--with: The optional dependency groups to include when exporting.--only: The only dependency groups to include when exporting.--default: Only export the main dependencies. (Deprecated)--dev: Include development dependencies. (Deprecated)--extras (-E): Extra sets of dependencies to include.--without-hashes: Exclude hashes from the exported file.--with-credentials: Include credentials for extra indices.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file poetry-plugin-export-1.0.3.tar.gz.
File metadata
- Download URL: poetry-plugin-export-1.0.3.tar.gz
- Upload date:
- Size: 22.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.12 Linux/5.13.0-1023-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5411cbbe88c897e89271849b8bd1670bcb5cb9659c2483b85c0bd43944b825ff
|
|
| MD5 |
3a96f0a83ed6ca9d71031dd4155ac669
|
|
| BLAKE2b-256 |
9d205442244481da660698801bfe4050a14913e1f48697b989399fc05418679a
|
File details
Details for the file poetry_plugin_export-1.0.3-py3-none-any.whl.
File metadata
- Download URL: poetry_plugin_export-1.0.3-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.12 Linux/5.13.0-1023-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ad3cd3763f8efa07c9870e0bbd0cd71a1f52c4c8d76ad785825f3eec850c456
|
|
| MD5 |
1bc574bad394062ea2845c9f5b14b35c
|
|
| BLAKE2b-256 |
a7b549365c39f8d034ca1f8e91d1dbade9e93a1df2ea3f2cbb07367b6b3b36bb
|