{"adoption": {"forks": 494, "observed_at": "2026-08-28T04:07:25.683774+00:00", "stars": 2851}, "canonical_url": "https://ross.abutalabs.com/products/pexpect", "card": {"archived": false, "artifact_type": "library", "description": "A Python module for controlling interactive programs in a pseudo-terminal", "domain": ["developer-tools", "testing"], "enriched": true, "function": ["workflow-automation", "testing", "cli", "developer-tools"], "health_score": 34, "homepage": "http://pexpect.readthedocs.io/", "language": "Python", "license": "NOASSERTION", "license_family": "other", "maturity": "stable", "member_repos": ["pexpect/pexpect"], "name": "pexpect/pexpect", "platform": ["python", "cli"], "pushed_at": "2025-04-11T06:56:25+00:00", "repo": "pexpect/pexpect", "stars": 2851, "tags": ["expect", "pseudo-terminal", "pty", "process-control", "interactive-applications", "automation", "command-line", "linux", "macos"], "topics": [], "urls": [], "use_cases": ["automate interactive ssh sessions from python", "script password prompts for passwd or ftp", "run automated tests of command-line programs", "control a child process and respond to its output patterns", "automate setup scripts across servers", "drive telnet or other console applications programmatically"], "what_it_is": "Pexpect is a pure Python, Expect-like module for spawning and controlling interactive child applications in a pseudo-terminal. It lets scripts respond to expected output patterns as if a human were typing commands, automating tools like ssh, ftp, and passwd.", "when_to_avoid": ["you need full functionality on Windows, since pty-based features are Unix-only", "you just need to run non-interactive subprocesses, where subprocess is simpler", "you need to control GUI applications"], "when_to_choose": ["you need to automate interactive Unix command-line programs that prompt for input", "you want a pure-Python alternative to Don Libes' Expect", "you are writing automated tests for terminal applications"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/pexpect", "repo": "pexpect/pexpect", "role": "main", "score": 30}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:25.683774+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:36:54.241983+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e67d5ff14b46fc1e3993c83ebf021701d91415fb76da2b090fa42d515af04b68", "fetched_at": "2026-08-28T04:07:25.683774+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pexpect/pexpect"}, {"content_hash": "b2dc94cb45adb5e1009d3ad411ab2f9800c569a01672df82fe0f55fac7747b9e", "fetched_at": "2026-08-29T09:53:06.515631+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pexpect/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:25.683774+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:36:54.241983+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e67d5ff14b46fc1e3993c83ebf021701d91415fb76da2b090fa42d515af04b68", "fetched_at": "2026-08-28T04:07:25.683774+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pexpect/pexpect"}, {"content_hash": "b2dc94cb45adb5e1009d3ad411ab2f9800c569a01672df82fe0f55fac7747b9e", "fetched_at": "2026-08-29T09:53:06.515631+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pexpect/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:36:54.241983+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e67d5ff14b46fc1e3993c83ebf021701d91415fb76da2b090fa42d515af04b68", "fetched_at": "2026-08-28T04:07:25.683774+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pexpect/pexpect"}, {"content_hash": "b2dc94cb45adb5e1009d3ad411ab2f9800c569a01672df82fe0f55fac7747b9e", "fetched_at": "2026-08-29T09:53:06.515631+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pexpect/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:07:25.683774+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:25.683774+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:25.683774+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:36:54.241983+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e67d5ff14b46fc1e3993c83ebf021701d91415fb76da2b090fa42d515af04b68", "fetched_at": "2026-08-28T04:07:25.683774+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pexpect/pexpect"}, {"content_hash": "b2dc94cb45adb5e1009d3ad411ab2f9800c569a01672df82fe0f55fac7747b9e", "fetched_at": "2026-08-29T09:53:06.515631+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pexpect/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:25.683774+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:25.683774+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:36:54.241983+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e67d5ff14b46fc1e3993c83ebf021701d91415fb76da2b090fa42d515af04b68", "fetched_at": "2026-08-28T04:07:25.683774+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pexpect/pexpect"}, {"content_hash": "b2dc94cb45adb5e1009d3ad411ab2f9800c569a01672df82fe0f55fac7747b9e", "fetched_at": "2026-08-29T09:53:06.515631+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pexpect/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:25.683774+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:25.683774+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:25.683774+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:36:54.241983+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e67d5ff14b46fc1e3993c83ebf021701d91415fb76da2b090fa42d515af04b68", "fetched_at": "2026-08-28T04:07:25.683774+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pexpect/pexpect"}, {"content_hash": "b2dc94cb45adb5e1009d3ad411ab2f9800c569a01672df82fe0f55fac7747b9e", "fetched_at": "2026-08-29T09:53:06.515631+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pexpect/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:25.683774+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:25.683774+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:36:54.241983+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e67d5ff14b46fc1e3993c83ebf021701d91415fb76da2b090fa42d515af04b68", "fetched_at": "2026-08-28T04:07:25.683774+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pexpect/pexpect"}, {"content_hash": "b2dc94cb45adb5e1009d3ad411ab2f9800c569a01672df82fe0f55fac7747b9e", "fetched_at": "2026-08-29T09:53:06.515631+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pexpect/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:36:54.241983+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e67d5ff14b46fc1e3993c83ebf021701d91415fb76da2b090fa42d515af04b68", "fetched_at": "2026-08-28T04:07:25.683774+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pexpect/pexpect"}, {"content_hash": "b2dc94cb45adb5e1009d3ad411ab2f9800c569a01672df82fe0f55fac7747b9e", "fetched_at": "2026-08-29T09:53:06.515631+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pexpect/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:36:54.241983+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e67d5ff14b46fc1e3993c83ebf021701d91415fb76da2b090fa42d515af04b68", "fetched_at": "2026-08-28T04:07:25.683774+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pexpect/pexpect"}, {"content_hash": "b2dc94cb45adb5e1009d3ad411ab2f9800c569a01672df82fe0f55fac7747b9e", "fetched_at": "2026-08-29T09:53:06.515631+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pexpect/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:36:54.241983+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e67d5ff14b46fc1e3993c83ebf021701d91415fb76da2b090fa42d515af04b68", "fetched_at": "2026-08-28T04:07:25.683774+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pexpect/pexpect"}, {"content_hash": "b2dc94cb45adb5e1009d3ad411ab2f9800c569a01672df82fe0f55fac7747b9e", "fetched_at": "2026-08-29T09:53:06.515631+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pexpect/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 16, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4733, "days_push": 509, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 30, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}