$npx skillfedfor your agent

plumbum

Plumbum: shell combinators library

Worth itPyPI Build ToolsReleased Jul 20266.5M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — plumbum-2.0.2-py3-none-any.whl
v2.0.2 · released 2026-07-22 · Python >=3.9 · 1 runtime deps: typing-extensions

Yes. Plumbum is actively maintained, has no known vulnerabilities, installs with minimal friction, and carries a permissive MIT license. It is well-suited for anyone writing system administration scripts, build automation, or CLI tools who wants to avoid shell scripting or subprocess boilerplate. The library's maturity (first release 2012, currently 2.0.2) and broad Python version support (3.9–3.15) make it a reliable choice.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later.
  • Remote SSH execution requires an OpenSSH-compatible client, PuTTY (Windows), or Paramiko installed separately.
  • Low install friction with a single lightweight runtime dependency (typing-extensions).

License · maintenance · safety

MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and proprietary projects.

last release 2026-07-22 (23 days) · last repo commit 2026-08-13 · 3,053 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 6,547,051 downloads/mo, #1,890 on PyPI

Verify before relying

from plumbum import local
from plumbum.cmd import ls, grep

# Run a single command
local.cmd.ls()

# Pipe commands together
chain = ls["-a"] | grep["-v", r"\.py"]
print(chain())
  • Whether Paramiko is automatically installed or must be added separately for SSH support.
  • Performance characteristics when chaining many commands or executing large batches of remote operations.
  • Compatibility with non-POSIX shells on Windows beyond the documented PuTTY support.
Same gist for agents: .md · .json

What it is and what it does

Plumbum is a Python library that brings shell script syntax and semantics into a real programming language. It lets you compose and execute shell commands using Python operators—piping with `|`, redirection with `<` and `>`, and nesting with bracket notation—while staying cross-platform and Pythonic. The library handles both local command execution and remote execution over SSH, manages working directories and environment variables programmatically, and includes a decorator-based CLI framework for building command-line applications.

Instead of writing separate shell scripts or laboriously constructing subprocess calls, you write Python code that reads like shell commands. It supports foreground and background execution, command composition, and file-system paths as first-class objects. The library also provides color and style utilities for terminal output.

Use it for

  • Build automation and task runners: chain compiler, linker, and build tool invocations with shell-like syntax.
  • System administration scripts: execute local and remote commands over SSH with a unified Python API.
  • CLI tool development: use the built-in Application framework to define flags, switches, and subcommands.
  • Data pipeline orchestration: compose file operations, text processing, and command execution in a single script.
  • Cross-platform scripting: write once, run on Windows, Linux, and macOS without rewriting shell logic.
  • Log analysis and filtering: pipe commands like grep, awk, and sed equivalents directly in Python.

Worth the install?

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

Worth it

Yes.

Plumbum is actively maintained, has no known vulnerabilities, installs with minimal friction, and carries a permissive MIT license. It is well-suited for anyone writing system administration scripts, build automation, or CLI tools who wants to avoid shell scripting or subprocess boilerplate. The library's maturity (first release 2012, currently 2.0.2) and broad Python version support (3.9–3.15) make it a reliable choice.

Install

plumbum on PyPI

Before you install

Low install friction with a single lightweight runtime dependency (typing-extensions). Active maintenance with a recent release (23 days old) and steady repository activity.

Requires Python 3.9 or later. Remote SSH execution requires an OpenSSH-compatible client, PuTTY (Windows), or Paramiko installed separately.

License in practice

MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and proprietary projects.

Quickstart

from plumbum import local
from plumbum.cmd import ls, grep

# Run a single command
local.cmd.ls()

# Pipe commands together
chain = ls["-a"] | grep["-v", r"\.py"]
print(chain())

Verify before relying

  • Whether Paramiko is automatically installed or must be added separately for SSH support.
  • Performance characteristics when chaining many commands or executing large batches of remote operations.
  • Compatibility with non-POSIX shells on Windows beyond the documented PuTTY support.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
typing-extensions
MaintenanceActively maintained 23 days since the last release
Last repo commit
First released
Downloads6,547,051 / month, #1,890 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableOperating System :: Microsoft :: WindowsOperating System :: POSIXProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.15Programming Language :: Python :: 3.9Topic :: Software Development :: Build ToolsTopic :: System :: Systems AdministrationTyping :: Typed

Evidence: plumbum-2.0.2-py3-none-any.whl

Tags

Capabilities
shell commands in pythonpython pipe and redirectssh command executioncross-platform shell scriptingpython cli frameworklocal and remote commandscommand chaining library
Topics
shell-scriptingprocess-executioncli-framework
PyPI keywords
asyncasyncioclicolorexecutionlocalpathpipepopenprocessremoteshellssh

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 › “command chaining library”

  • plumbumPlumbum lets you write shell-script-like programs in Python with…
  • delegator.pyDelegator.py wraps subprocess execution with a simple API for running…
  • click-composeProvides composable callback utilities for Click CLI applications,…

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

More Build Tools packages

packaging Worth it
PyPI · Build Tools · released Aug 2026

Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.

Apache-2.0 OR BSD-2-Clausepure Python · 3.9+
2.2Bdownloads / mo
tqdm Worth it
PyPI · Libraries · released Jul 2026

Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
pip Worth it
PyPI · Build Tools · released Aug 2026

pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.

MITpure Python · 3.10+
617.5Mdownloads / mo
hatchling Worth it
PyPI · Python Modules · released Aug 2026

Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.

MITpure Python · 3.10+
484.2Mdownloads / mo
grpcio-tools Worth it
PyPI · Build Tools · released Jul 2026

Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.

Apache-2.0compiled wheel · 3.10+
278.2Mdownloads / mo
pre-commit Worth it
PyPI · Build Tools · released Aug 2026

pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.

Install it if your team needs consistent, automated validation at commit time.

permissive licensepure Python · 3.10+
179.9Mdownloads / mo

See also bash · sarge · delegator.py · pypyp · pipe · subprocess.run · paramiko-expect · fabric2 · fabric · jumpssh