{"adoption": {"forks": 103, "observed_at": "2026-08-28T04:04:03.453936+00:00", "stars": 1228}, "canonical_url": "https://ross.abutalabs.com/products/when-changed", "card": {"archived": false, "artifact_type": "cli-tool", "description": "Execute a command when a file is changed", "domain": ["developer-tools"], "enriched": true, "function": ["developer-tools", "cli", "file-system", "workflow-automation"], "health_score": 20, "homepage": null, "language": "Python", "license": "NOASSERTION", "license_family": "other", "maturity": "maintenance", "member_repos": ["joh/when-changed"], "name": "joh/when-changed", "platform": ["cross-platform", "python", "cli"], "pushed_at": "2024-04-02T21:02:10+00:00", "repo": "joh/when-changed", "stars": 1228, "tags": ["file-watching", "watchdog", "auto-run", "live-reload", "command-line", "automation"], "topics": [], "urls": [], "use_cases": ["automatically recompile latex documents when the source file changes", "run tests whenever source code is saved", "rebuild a project on file modification", "trigger a script when a file is created, modified, moved, or deleted", "watch a directory recursively and run a command on changes"], "what_it_is": "when-changed is a Python command-line tool that watches files or directories and runs a specified command whenever a change is detected. It is built on the watchdog library and supports recursive watching, verbosity control, and event metadata via environment variables.", "when_to_avoid": ["you need advanced build orchestration or task runners like make or just", "you need a GUI file-watching tool", "you need complex multi-step pipelines with dependency graphs"], "when_to_choose": ["you want a simple, lightweight CLI to re-run a command on file changes", "you need cross-platform file watching from the terminal", "you want event details like file path and event type passed to your command"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/when-changed", "repo": "joh/when-changed", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.453936+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:15:11.667422+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9a20405ccceb2be6b6377c270b9610d5e4ff703769d60635c2c974cdcfd4988c", "fetched_at": "2026-08-28T04:04:03.453936+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joh/when-changed"}, {"content_hash": "b1f078e75bb2e89dc69c0e4d96a68c662de5e787cc98fb43509338834a84fef5", "fetched_at": "2026-08-29T12:23:05.932059+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/when-changed/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.453936+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:15:11.667422+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9a20405ccceb2be6b6377c270b9610d5e4ff703769d60635c2c974cdcfd4988c", "fetched_at": "2026-08-28T04:04:03.453936+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joh/when-changed"}, {"content_hash": "b1f078e75bb2e89dc69c0e4d96a68c662de5e787cc98fb43509338834a84fef5", "fetched_at": "2026-08-29T12:23:05.932059+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/when-changed/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:15:11.667422+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9a20405ccceb2be6b6377c270b9610d5e4ff703769d60635c2c974cdcfd4988c", "fetched_at": "2026-08-28T04:04:03.453936+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joh/when-changed"}, {"content_hash": "b1f078e75bb2e89dc69c0e4d96a68c662de5e787cc98fb43509338834a84fef5", "fetched_at": "2026-08-29T12:23:05.932059+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/when-changed/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:04:03.453936+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.453936+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.453936+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:15:11.667422+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9a20405ccceb2be6b6377c270b9610d5e4ff703769d60635c2c974cdcfd4988c", "fetched_at": "2026-08-28T04:04:03.453936+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joh/when-changed"}, {"content_hash": "b1f078e75bb2e89dc69c0e4d96a68c662de5e787cc98fb43509338834a84fef5", "fetched_at": "2026-08-29T12:23:05.932059+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/when-changed/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.453936+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.453936+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:15:11.667422+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9a20405ccceb2be6b6377c270b9610d5e4ff703769d60635c2c974cdcfd4988c", "fetched_at": "2026-08-28T04:04:03.453936+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joh/when-changed"}, {"content_hash": "b1f078e75bb2e89dc69c0e4d96a68c662de5e787cc98fb43509338834a84fef5", "fetched_at": "2026-08-29T12:23:05.932059+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/when-changed/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.453936+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.453936+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.453936+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:15:11.667422+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9a20405ccceb2be6b6377c270b9610d5e4ff703769d60635c2c974cdcfd4988c", "fetched_at": "2026-08-28T04:04:03.453936+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joh/when-changed"}, {"content_hash": "b1f078e75bb2e89dc69c0e4d96a68c662de5e787cc98fb43509338834a84fef5", "fetched_at": "2026-08-29T12:23:05.932059+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/when-changed/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.453936+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.453936+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:15:11.667422+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9a20405ccceb2be6b6377c270b9610d5e4ff703769d60635c2c974cdcfd4988c", "fetched_at": "2026-08-28T04:04:03.453936+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joh/when-changed"}, {"content_hash": "b1f078e75bb2e89dc69c0e4d96a68c662de5e787cc98fb43509338834a84fef5", "fetched_at": "2026-08-29T12:23:05.932059+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/when-changed/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:15:11.667422+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9a20405ccceb2be6b6377c270b9610d5e4ff703769d60635c2c974cdcfd4988c", "fetched_at": "2026-08-28T04:04:03.453936+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joh/when-changed"}, {"content_hash": "b1f078e75bb2e89dc69c0e4d96a68c662de5e787cc98fb43509338834a84fef5", "fetched_at": "2026-08-29T12:23:05.932059+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/when-changed/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:15:11.667422+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9a20405ccceb2be6b6377c270b9610d5e4ff703769d60635c2c974cdcfd4988c", "fetched_at": "2026-08-28T04:04:03.453936+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joh/when-changed"}, {"content_hash": "b1f078e75bb2e89dc69c0e4d96a68c662de5e787cc98fb43509338834a84fef5", "fetched_at": "2026-08-29T12:23:05.932059+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/when-changed/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:15:11.667422+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9a20405ccceb2be6b6377c270b9610d5e4ff703769d60635c2c974cdcfd4988c", "fetched_at": "2026-08-28T04:04:03.453936+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joh/when-changed"}, {"content_hash": "b1f078e75bb2e89dc69c0e4d96a68c662de5e787cc98fb43509338834a84fef5", "fetched_at": "2026-08-29T12:23:05.932059+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/when-changed/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases", "no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 5693, "days_push": 883, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}