$npx skillfedfor your agent

runs

🏃 Run a block of text as a subprocess 🏃

With conditionsPyPI Software DevelopmentReleased Feb 20264.8M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — runs-1.3.0-py3-none-any.whl
v1.3.0 · released 2026-02-03 · Python >=3.10 · 1 runtime deps: xmod

Yes, if you frequently run multiple subprocess commands in sequence and want cleaner syntax and UTF-8 defaults. The low install friction and permissive license make it a low-risk add. However, the aging maintenance status (192 days since last release) means it is stable but not actively developed—suitable for stable use cases, not for packages expecting ongoing feature work or rapid bug fixes.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Note that shell features like pipes, redirection, and environment variable expansion do not work—only direct command execution.
  • Low install friction with a single pure-Python dependency (xmod).

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions, requiring only license and copyright notice retention.

last release 2026-02-03 (192 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 4,810,269 downloads/mo, #2,223 on PyPI

Verify before relying

import runs

runs('''
    echo "hello"
    ls -la
    echo "done"
''')
  • Whether xmod dependency is actively maintained or has its own aging/stability concerns.
  • Real-world performance characteristics when running hundreds or thousands of commands in sequence.
Same gist for agents: .md · .json

What it is and what it does

runs is a wrapper around Python's subprocess module that lets you execute multiple commands in a single call by passing a block of text. Instead of calling subprocess.run() once per command, you write your commands as a multi-line string (or list), and runs splits them, handles comments and line continuations, and returns results for each command. It provides drop-in replacements for subprocess.call(), check_call(), check_output(), and run(), all with UTF-8 encoding by default instead of bytes.

The main problem it solves is the friction of running sequential subprocess commands in Python: normally you either loop and call subprocess repeatedly, or manually split and parse command strings. runs handles the parsing, encoding defaults, and optional features like echo logging and exception handling in one place. It does not support shell features like pipes, redirection, or environment variable expansion—those still require shell=True and manual handling.

Use it for

  • Run a sequence of shell commands from a Python script without looping subprocess calls.
  • Execute build or deployment steps (compilation, copying files, cleanup) as a text block.
  • Test harnesses that need to run multiple CLI tools and collect their output as strings.
  • Batch system administration tasks (disk checks, log rotation, service restarts) from Python.
  • Development scripts that chain multiple command-line tools and need UTF-8 output by default.

Worth the install?

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

With conditions

Yes, if you frequently run multiple subprocess commands in sequence and want cleaner syntax and UTF-8 defaults.

The low install friction and permissive license make it a low-risk add. However, the aging maintenance status (192 days since last release) means it is stable but not actively developed—suitable for stable use cases, not for packages expecting ongoing feature work or rapid bug fixes.

Install

runs on PyPI

Before you install

Low install friction with a single pure-Python dependency (xmod). Maintenance status is aging—last release was 192 days ago—so expect no active development, though the package is stable for its current scope.

Requires Python 3.10 or later. Note that shell features like pipes, redirection, and environment variable expansion do not work—only direct command execution.

License in practice

MIT license permits commercial and private use with minimal restrictions, requiring only license and copyright notice retention.

Quickstart

import runs

runs('''
    echo "hello"
    ls -la
    echo "done"
''')

Verify before relying

  • Whether xmod dependency is actively maintained or has its own aging/stability concerns.
  • Real-world performance characteristics when running hundreds or thousands of commands in sequence.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
xmod
MaintenanceAging 192 days since the last release
First released
Downloads4,810,269 / month, #2,223 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Evidence: runs-1.3.0-py3-none-any.whl

Tags

Capabilities
run multiple subprocess commandsbatch subprocess executiontext block command runnersubprocess wrappershell command batchmultiline command executionsubprocess with utf-8
Topics
subprocess-wrapperbatch-execution

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 › “run multiple subprocess commands”

  • runsRuns multiple subprocess commands from a text block or list, with…
  • delegator.pyDelegator.py wraps subprocess execution with a simple API for running…
  • EasyProcessEasyProcess wraps Python's subprocess module to simplify running…

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

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also fancy-subprocess · subprocess.run · subprocrunner · sarge · subprocess-tee · subprocess-multitee · sh · executor · EasyProcess · pytest-subprocess