# amitt001/delegator.py

Subprocesses for Humans 2.0.

Repository: https://github.com/amitt001/delegator.py
Canonical: https://ross.abutalabs.com/products/delegatorpy
Language: Python
License: MIT
License Family: permissive
Topics: python, subprocess
Last push: 2022-12-01T23:31:42+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3518, "days_push": 1371, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1742, forks 86 (observed 2026-08-28T04:05:30.391750+00:00)

## What it is
A Python library providing a friendlier API over subprocess, inspired by envoy and pexpect. It supports blocking and non-blocking command execution, unix-style command chaining with pipes, and expect/send interaction with running processes.

## Use cases
- run shell commands from python with a simpler api
- capture stdout and stderr of a subprocess
- run a long-running process without blocking and wait later
- pipe output of one command into another like fortune | cowsay
- interactively respond to a subprocess password prompt
- run commands with custom environment variables

## When to choose
- you want a human-friendly wrapper around subprocess with minimal boilerplate
- you need unix pipe chaining of shell commands in python
- you need expect-style interaction with spawned processes

## When to avoid
- you only need basic subprocess features and prefer the standard library without extra dependencies
- you need actively developed features or long-term support
- you need async subprocess management

## Facets
- artifact type: library
- maturity: maintenance
- function: developer-tools, concurrency
- domain: developer-tools
- platform: python, windows
- tags: subprocess, process-management, pexpect, shell-commands, pipes, command-line, automation, linux, macos

## Member repositories
- amitt001/delegator.py (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:30.391750+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:29:54.959544+00:00, confidence not recorded.
  - readme: https://github.com/amitt001/delegator.py (fetched 2026-08-28T04:05:30.391750+00:00, sha 7498adfa4d8c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
