Comparison
runs vs sh vs spur vs subprocess.run
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
🏃 Run a block of text as a subprocess 🏃
Maintained. Last release 10 months ago. Weaker on release cadence.
pip install runsPython subprocess replacement
Maintained. Last release 4 months ago, commits in 4 of the last 26 weeks. Weaker on commit activity.
pip install shRun commands and manipulate files locally or over SSH using the same interface
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install spurThe subprocess module extension to run processes.
Likely abandoned. No release or commit for years (last release over 13 years ago).
pip install subprocess-runIn short
- spur is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- subprocess.run looks abandoned: avoid it for new projects.
- sh is the most used: 6.8M downloads a month, 1.5× more than runs.
- sh also has the best Pythie’s Index (64).
- runs is growing fastest: downloads +17% over the last month.
- Safe default for a new project: sh.
Side by side
| Metric | runs | sh | spur | subprocess.run |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 54 | Pythie’s Index: 64 | Pythie’s Index: 14 | Pythie’s Index: 14 |
| Verdict | Maintained | Maintained | Slowing down | Likely abandoned |
| Downloads / month | 4.6M | 6.8M | 72.5K | 177.8K |
| Downloads, month over month | +17% | +5% | +42% | +18% |
| GitHub stars | – | 7.2K | 273 | 22 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 7 | 319 | 8 | 9 |
| Last release | Feb 3, 2026 | Jul 25, 2026 | Mar 11, 2023 | Nov 16, 2013 |
| Releases, 12 months | 1 | 6 | 0 | 0 |
| Weeks with commits | – | 4 / 26 | 0 / 26 | 0 / 26 |
| Recent contributors | – | 9 | 4 | 1 |
| First release | Nov 2020 | Jun 2012 | Nov 2012 | Jun 2013 |
| Python versions | 3.10 – 3.14 | 3.10 – 3.14 | 3.6 – 3.11 | 3.3 |
| License | MIT | MIT | BSD-2-Clause | BSD-3-Clause |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.