Poetry bundle plugin
This package is a plugin that allows the bundling of Poetry projects into various formats.
Installation
The easiest way to install the bundle plugin is via the plugin add command of Poetry.
poetry plugin add poetry-bundle-plugin
If you used pipx to install Poetry you can add the plugin via the pipx inject command.
pipx inject poetry poetry-bundle-plugin
Otherwise, if you used pip to install Poetry you can add the plugin packages via the pip install command.
pip install poetry-bundle-plugin
Usage
The plugin introduces a bundle command namespace that regroups commands to bundle the current project
and its dependencies into various formats. These commands are particularly useful to deploy
Poetry-managed applications.
bundle venv
bundle venv
The bundle venv command bundles the project and its dependencies into a virtual environment.
The following command
poetry bundle venv /path/to/environment
will bundle the project in the /path/to/environment directory by creating the virtual environment,
installing the dependencies and the current project inside it. If the directory does not exist,
it will be created automatically.
By default, the command uses the current Python executable to build the virtual environment.
If you want to use a different one, you can specify it with the --python/-p option:
poetry bundle venv /path/to/environment --python /full/path/to/python
poetry bundle venv /path/to/environment -p python3.8
poetry bundle venv /path/to/environment -p 3.8
Note
If the virtual environment already exists, two things can happen:
- The python version of the virtual environment is the same as the main one: the dependencies will be synced (updated or removed).
- The python version of the virtual environment is different: the virtual environment will be recreated from scratch.
You can also ensure that the virtual environment is recreated by using the --clear option:
poetry bundle venv /path/to/environment --clear
Metadata
Release files for poetry-bundle-plugin 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| poetry-bundle-plugin-0.1.0.tar.gz | 10.4 kB | Without provenance | Details for poetry-bundle-plugin-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| poetry_bundle_plugin-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for poetry_bundle_plugin-0.1.0-py3-none-any.whl |
Total release size: 19.1 kB
Release files / poetry-bundle-plugin-0.1.0.tar.gz
| Download URL | poetry-bundle-plugin-0.1.0.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
22d36161efee4c0171a867d2c074ad7fa5a327c193349779e94d28c292898497
|
|
BLAKE2b-256 checksum How to use checksums |
1f1ef05c2485fbf6d5f146316581f9e329fc181d478134401d1752dcd1e1210e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.0a1 CPython/3.9.4 Darwin/20.5.0
|
Release files / poetry_bundle_plugin-0.1.0-py3-none-any.whl
| Download URL | poetry_bundle_plugin-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9ca2d0c5856d2045296d2896a870daad0f93a5b29f3510fd7707350a2dc8ac1c
|
|
BLAKE2b-256 checksum How to use checksums |
fd94975aa0fe76bf2dcd4b6c4e48221941bafe4def7c2d365f38f90faf01ce31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.0a1 CPython/3.9.4 Darwin/20.5.0
|
Security for poetry-bundle-plugin 0.1.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.