hauntsaninja/pyp
Easily run Python at the shell! Magical, but never mysterious. observed · 2026-08-28
Health v2 · maintenance only
50/100
- Activity 60
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2333
- days_rel: 615
- days_push: 241
- n_releases_24m: 1
Adoption not part of the score
1529 stars · 46 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
pyp is a command-line tool that lets you run Python one-liners in the shell, replacing common utilities like awk, sed, cut, and jq. It statically analyzes your code to detect undefined variables and transforms the AST to automatically handle input lines, imports, and printing.
Use cases
- process each line of shell input with python
- replace awk with python one-liners
- parse from curl in the shell
- filter lines with python regex
- sum numbers from stdin with python
- add line numbers to file output
- run python snippets in shell pipelines
When to choose
- you want python's expressiveness in shell pipelines instead of awk/sed
- you need quick one-off text or transformations at the command line
- you want automatic imports and printing without boilerplate
When to avoid
- you need maximum performance for large data processing jobs
- your team only knows shell scripting and not python
- you need a full scripting environment rather than one-liners
Facets
cli-tool · maturity active
cli developer-tools parser interpreter developer-tools cli windows cross-platform python shell-scripting python-one-liners awk-replacement sed-replacement pipe-processing ast-transformation command-line automation linux macos
1 source
- readme: https://github.com/hauntsaninja/pyp · fetched 2026-08-28 · 0b3fffca8d15
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| hauntsaninja/pyp | main | 50 |
For agents
markdown · JSON · MCP: product_card(name="hauntsaninja/pyp")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem