$npx skillfedfor your agent

poetry-plugin-shell

Poetry plugin to run subshell with virtual environment activated

With conditionsPyPI UtilitiesReleased Jan 2025135.8K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — poetry_plugin_shell-1.0.1-py3-none-any.whl
v1.0.1 · released 2025-01-05 · Python <4.0,>=3.9 · 3 runtime deps: pexpect, poetry, shellingham

Yes, if you use Poetry and want a convenient way to activate your project's virtual environment. Install friction is low, maintenance is active, and there are no known vulnerabilities. The MIT license imposes no restrictions. Install via `poetry self add poetry-plugin-shell` for the smoothest integration.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Poetry to be installed; the plugin integrates as a Poetry command extension.
  • Low install friction; the package is a pure Python wheel with three straightforward runtime dependencies (pexpect, poetry, shellingham).
  • Actively maintained with a recent commit on 2026-08-10.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use this plugin freely in commercial and private projects without restriction.

last release 2025-01-05 (586 days) · last repo commit 2026-08-10 · 140 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 135,754 downloads/mo, #11,419 on PyPI

Verify before relying

poetry self add poetry-plugin-shell
poetry shell
  • Whether the plugin works with all Poetry installation methods (self, pipx inject, pip install) equally well in practice.
  • Shell detection behavior on less common shells or non-standard shell configurations.
Same gist for agents: .md · .json

What it is and what it does

Poetry-plugin-shell is a Poetry plugin that adds a `shell` command to launch an interactive subshell with your project's virtual environment pre-activated. It detects your current shell automatically (or falls back to the SHELL or COMSPEC environment variable) and creates the virtual environment if it doesn't exist. The plugin uses shellingham internally to identify the active shell, then spawns a new shell process with the venv activated—you exit with `exit` rather than `deactivate` to properly leave both the shell and the environment.

This plugin restores functionality that was previously built into Poetry itself. It depends on pexpect for subprocess interaction, poetry as the host framework, and shellingham for shell detection. The package supports Python 3.9 through 3.13 and is actively maintained.

Use it for

  • Quickly enter a project's virtual environment from the command line without manually sourcing activation scripts.
  • Ensure a clean shell session with the correct venv activated when switching between Poetry projects.
  • Automate shell setup in scripts or CI/CD workflows that need to run commands inside a Poetry project's environment.
  • Detect and use the developer's preferred shell (bash, zsh, fish, etc.) automatically when activating the venv.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you use Poetry and want a convenient way to activate your project's virtual environment.

Install friction is low, maintenance is active, and there are no known vulnerabilities. The MIT license imposes no restrictions. Install via `poetry self add poetry-plugin-shell` for the smoothest integration.

Install

poetry-plugin-shell on PyPI

Before you install

Low install friction; the package is a pure Python wheel with three straightforward runtime dependencies (pexpect, poetry, shellingham). Actively maintained with a recent commit on 2026-08-10.

Requires Poetry to be installed; the plugin integrates as a Poetry command extension.

License in practice

MIT license is permissive; you can use this plugin freely in commercial and private projects without restriction.

Quickstart

poetry self add poetry-plugin-shell
poetry shell

Verify before relying

  • Whether the plugin works with all Poetry installation methods (self, pipx inject, pip install) equally well in practice.
  • Shell detection behavior on less common shells or non-standard shell configurations.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <4.0,>=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
pexpectpoetryshellingham
MaintenanceActively maintained 586 days since the last release
Last repo commit
First released
Downloads135,754 / month, #11,419 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9

Evidence: poetry_plugin_shell-1.0.1-py3-none-any.whl

Tags

Capabilities
poetry virtual environment shellactivate venv poetry pluginpoetry shell commandsubshell with poetry venvpoetry environment activationinteractive shell poetry project
Topics
poetry-pluginvirtual-environmentshell-integration

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “poetry virtual environment shell”

  • poetry-plugin-shellA Poetry plugin that launches a subshell with the project's virtual…
  • poetryPoetry is a dependency management and packaging tool that replaces…
  • cyclonedx-pyGenerates Software Bill of Materials (SBOM) documents in CycloneDX…

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also poetry · shellingham · poetry-plugin-export · nox-poetry · poetry-core · xonsh · poetry-dynamic-versioning · poethepoet · coherent.licensed · cement