{"adoption": {"forks": 504, "observed_at": "2026-08-28T04:09:57.736877+00:00", "stars": 7242}, "canonical_url": "https://ross.abutalabs.com/products/amoffat-sh", "card": {"archived": false, "artifact_type": "library", "description": "Python process launching", "domain": ["developer-tools"], "enriched": true, "function": ["developer-tools", "cli", "concurrency"], "health_score": 97, "homepage": "https://sh.readthedocs.io/en/latest/", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["amoffat/sh"], "name": "amoffat/sh", "platform": ["python", "cli"], "pushed_at": "2026-07-25T21:44:20+00:00", "repo": "amoffat/sh", "stars": 7242, "tags": ["subprocess", "process-launching", "shell-commands", "unix-only", "api-wrapper", "command-line", "automation", "linux", "macos"], "topics": ["python", "subprocess", "devops"], "urls": [], "use_cases": ["run shell commands from python", "subprocess replacement with cleaner api", "call git or other cli tools from python scripts", "automate command-line workflows in python", "capture output of external programs"], "what_it_is": "sh is a Python library that replaces the subprocess module, letting you call any external program as if it were a Python function. It works only on Unix-like operating systems (Linux, macOS, BSDs) and supports Python 3.10-3.14 and PyPy.", "when_to_avoid": ["you need Windows support - sh explicitly does not support it", "you only need a simple one-off subprocess call and want zero dependencies", "you need to run commands on remote machines rather than locally"], "when_to_choose": ["you want a pythonic, function-call syntax for external commands instead of subprocess boilerplate", "your code runs on Linux, macOS, or BSD", "you need piping, background execution, or output handling for shell commands"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/amoffat-sh", "repo": "amoffat/sh", "role": "main", "score": 96}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:09:57.736877+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:39:45.002056+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "343dc9483e5e192330e76d32dbc6fdbf23595db1b4012e789b0034737dbcb497", "fetched_at": "2026-08-28T04:09:57.736877+00:00", "kind": "readme", "missing": false, "url": "https://github.com/amoffat/sh"}, {"content_hash": "ed1a7a86ca87d8bcff89aa8f76910aea52b189f37495314b820f6c46b2a51097", "fetched_at": "2026-08-29T08:34:58.177474+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/sh/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:09:57.736877+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:39:45.002056+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "343dc9483e5e192330e76d32dbc6fdbf23595db1b4012e789b0034737dbcb497", "fetched_at": "2026-08-28T04:09:57.736877+00:00", "kind": "readme", "missing": false, "url": "https://github.com/amoffat/sh"}, {"content_hash": "ed1a7a86ca87d8bcff89aa8f76910aea52b189f37495314b820f6c46b2a51097", "fetched_at": "2026-08-29T08:34:58.177474+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/sh/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:39:45.002056+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "343dc9483e5e192330e76d32dbc6fdbf23595db1b4012e789b0034737dbcb497", "fetched_at": "2026-08-28T04:09:57.736877+00:00", "kind": "readme", "missing": false, "url": "https://github.com/amoffat/sh"}, {"content_hash": "ed1a7a86ca87d8bcff89aa8f76910aea52b189f37495314b820f6c46b2a51097", "fetched_at": "2026-08-29T08:34:58.177474+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/sh/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:09:57.736877+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:09:57.736877+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:09:57.736877+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:39:45.002056+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "343dc9483e5e192330e76d32dbc6fdbf23595db1b4012e789b0034737dbcb497", "fetched_at": "2026-08-28T04:09:57.736877+00:00", "kind": "readme", "missing": false, "url": "https://github.com/amoffat/sh"}, {"content_hash": "ed1a7a86ca87d8bcff89aa8f76910aea52b189f37495314b820f6c46b2a51097", "fetched_at": "2026-08-29T08:34:58.177474+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/sh/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:09:57.736877+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:09:57.736877+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:39:45.002056+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "343dc9483e5e192330e76d32dbc6fdbf23595db1b4012e789b0034737dbcb497", "fetched_at": "2026-08-28T04:09:57.736877+00:00", "kind": "readme", "missing": false, "url": "https://github.com/amoffat/sh"}, {"content_hash": "ed1a7a86ca87d8bcff89aa8f76910aea52b189f37495314b820f6c46b2a51097", "fetched_at": "2026-08-29T08:34:58.177474+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/sh/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:09:57.736877+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:09:57.736877+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:09:57.736877+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:39:45.002056+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "343dc9483e5e192330e76d32dbc6fdbf23595db1b4012e789b0034737dbcb497", "fetched_at": "2026-08-28T04:09:57.736877+00:00", "kind": "readme", "missing": false, "url": "https://github.com/amoffat/sh"}, {"content_hash": "ed1a7a86ca87d8bcff89aa8f76910aea52b189f37495314b820f6c46b2a51097", "fetched_at": "2026-08-29T08:34:58.177474+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/sh/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:09:57.736877+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:09:57.736877+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:39:45.002056+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "343dc9483e5e192330e76d32dbc6fdbf23595db1b4012e789b0034737dbcb497", "fetched_at": "2026-08-28T04:09:57.736877+00:00", "kind": "readme", "missing": false, "url": "https://github.com/amoffat/sh"}, {"content_hash": "ed1a7a86ca87d8bcff89aa8f76910aea52b189f37495314b820f6c46b2a51097", "fetched_at": "2026-08-29T08:34:58.177474+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/sh/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:39:45.002056+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "343dc9483e5e192330e76d32dbc6fdbf23595db1b4012e789b0034737dbcb497", "fetched_at": "2026-08-28T04:09:57.736877+00:00", "kind": "readme", "missing": false, "url": "https://github.com/amoffat/sh"}, {"content_hash": "ed1a7a86ca87d8bcff89aa8f76910aea52b189f37495314b820f6c46b2a51097", "fetched_at": "2026-08-29T08:34:58.177474+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/sh/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:39:45.002056+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "343dc9483e5e192330e76d32dbc6fdbf23595db1b4012e789b0034737dbcb497", "fetched_at": "2026-08-28T04:09:57.736877+00:00", "kind": "readme", "missing": false, "url": "https://github.com/amoffat/sh"}, {"content_hash": "ed1a7a86ca87d8bcff89aa8f76910aea52b189f37495314b820f6c46b2a51097", "fetched_at": "2026-08-29T08:34:58.177474+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/sh/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:39:45.002056+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "343dc9483e5e192330e76d32dbc6fdbf23595db1b4012e789b0034737dbcb497", "fetched_at": "2026-08-28T04:09:57.736877+00:00", "kind": "readme", "missing": false, "url": "https://github.com/amoffat/sh"}, {"content_hash": "ed1a7a86ca87d8bcff89aa8f76910aea52b189f37495314b820f6c46b2a51097", "fetched_at": "2026-08-29T08:34:58.177474+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/sh/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 94, "longevity": 100, "rhythm": 95}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 5344, "days_push": 39, "days_rel": 39, "gap_med": 1, "n_releases_24m": 10}, "score": 96, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}