Poetry Plugin: Shell
This package is a plugin that runs a subshell with virtual environment activated.
This plugin replaces the same feature as the shell command previously available in Poetry.
Installation
The easiest way to install the shell plugin is via the self add command of Poetry.
poetry self add poetry-plugin-shell
If you used pipx to install Poetry you can add the plugin via the pipx inject command.
pipx inject poetry poetry-plugin-shell
Otherwise, if you used pip to install Poetry you can add the plugin packages via the pip install command.
pip install poetry-plugin-shell
Usage
The plugin provides a shell command to run a subshell with virtual environment activated.
poetry shell
By default, the current active shell is detected and used. Failing that,
the shell defined via the environment variable SHELL (on *nix) or
COMSPEC (on Windows) is used.
If a virtual environment does not exist, it will be created.
Note that this command starts a new shell and activates the virtual environment.
As such, exit should be used to properly exit the shell and the virtual environment instead of deactivate.
Metadata
Release files for poetry-plugin-shell 1.0.1
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_plugin_shell-1.0.1.tar.gz | 9.5 kB | With provenance | Details for poetry_plugin_shell-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| poetry_plugin_shell-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for poetry_plugin_shell-1.0.1-py3-none-any.whl |
Total release size: 15.9 kB
Release files / poetry_plugin_shell-1.0.1.tar.gz
| Download URL | poetry_plugin_shell-1.0.1.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2c2f878f2dbf488cdfd990fc7205af858280942f4ff766d7bbc5aa8b198a1762
|
|
BLAKE2b-256 checksum How to use checksums |
7cdeeb51fa4f65050be11c73dd88de9b2b01c466910d843999d622b7be8ace29
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
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 Jan 5, 2025.
Transparency logRelease files / poetry_plugin_shell-1.0.1-py3-none-any.whl
| Download URL | poetry_plugin_shell-1.0.1-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9d862799a31fa710b5e52f91415ae3b9e3374e302b7646b3829c6d776ffe2c36
|
|
BLAKE2b-256 checksum How to use checksums |
3ac6f94cabf9c8e46eda1aaa24962a0a6b84ed987b25e7ebcbe007bc689350c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
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 Jan 5, 2025.
Transparency logSecurity for poetry-plugin-shell 1.0.1
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.
Attestation for poetry_plugin_shell-1.0.1.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 Jan 5, 2025.
Transparency logA 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.