sarge
A wrapper for subprocess which provides command pipeline functionality.
Decision gist · record as of 2026-08-14
Yes, if you need portable shell-like pipelines in Python. The package is stable (Production/Stable status), has zero dependencies, installs easily, and carries no known vulnerabilities. The aging maintenance status (206 days since last release) is a minor concern for a mature library, but the repository is active and the codebase is straightforward. Install it if subprocess boilerplate is slowing you down.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction: pure Python wheel with no runtime dependencies.
- Maintenance is aging—last release was 206 days ago—but the repository is active and not archived, with recent commits as of 2026-01-20.
License · maintenance · safety
BSD-3-Clause (permissive) — BSD-3-Clause is permissive; you can use, modify, and distribute sarge with minimal restrictions, provided you include the license notice.
last release 2026-01-20 (206 days) · last repo commit 2026-01-20 · 35 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 268,797 downloads/mo, #8,268 on PyPI
Alternatives
Verify before relying
pip install sarge
from sarge import run
run('echo hello | cat')- Whether the package actively maintains compatibility with Python 3.14 or if classifiers are aspirational
- Current test coverage and whether unit tests pass on all advertised Python versions
What it is and what it does
Sarge is a thin wrapper around Python's subprocess module that lets you write shell-like command pipelines in Python code using familiar POSIX syntax. Instead of building complex subprocess calls or shelling out to the OS, you write pipelines as strings with pipes (|), chains (;), background execution (&), and redirection, and sarge handles the cross-platform details.
It's designed for developers and system administrators who need to orchestrate external commands from Python without dropping into raw subprocess boilerplate or shell escaping headaches. The package has no runtime dependencies and works on Windows, macOS, and Unix variants, making it useful for portable automation scripts.
Use it for
- Build automation scripts that chain multiple command-line tools with pipes and redirects without subprocess boilerplate
- System administration tasks that need to run shell-like pipelines portably across Windows and Unix
- Testing or CI workflows where you need to capture and chain command output without shell injection risk
- Data processing scripts that filter or transform output from external tools using familiar pipe syntax
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need portable shell-like pipelines in Python.
The package is stable (Production/Stable status), has zero dependencies, installs easily, and carries no known vulnerabilities. The aging maintenance status (206 days since last release) is a minor concern for a mature library, but the repository is active and the codebase is straightforward. Install it if subprocess boilerplate is slowing you down.
Install
sarge on PyPI
Before you install
Low friction: pure Python wheel with no runtime dependencies. Maintenance is aging—last release was 206 days ago—but the repository is active and not archived, with recent commits as of 2026-01-20.
License in practice
BSD-3-Clause is permissive; you can use, modify, and distribute sarge with minimal restrictions, provided you include the license notice.
Quickstart
pip install sarge
from sarge import run
run('echo hello | cat')
Verify before relying
- Whether the package actively maintains compatibility with Python 3.14 or if classifiers are aspirational
- Current test coverage and whether unit tests pass on all advertised Python versions
Package facts
| License | BSD-3-Clause permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Aging 206 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 268,797 / month, #8,268 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: ConsoleEnvironment :: MacOS XEnvironment :: Win32 (MS Windows)Intended Audience :: DevelopersIntended Audience :: System AdministratorsOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIXOperating System :: UnixProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: ImplementationTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTopic :: System :: Shells |
Evidence: sarge-0.1.8-py2.py3-none-any.whl
Tags
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 pipelines”
- sargeSarge wraps Python's subprocess module to provide POSIX-style command…
- piperPypiper manages shell command execution within Python workflows,…
- dlthub-clientExtends a data load tool with a CLI command to deploy and run…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
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.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
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.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also subprocess-multitee · plumbum · delegator.py · runs · pipe · mozprocess · dagster-shell · EasyProcess · bash · executor