{"adoption": {"forks": 123, "observed_at": "2026-08-28T04:08:07.983058+00:00", "stars": 3523}, "canonical_url": "https://ross.abutalabs.com/products/pampy", "card": {"archived": false, "artifact_type": "library", "description": "Pampy: The Pattern Matching for Python you always dreamed of.", "domain": ["programming-languages", "developer-tools"], "enriched": true, "function": ["parser", "developer-tools"], "health_score": 21, "homepage": null, "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["santinic/pampy"], "name": "santinic/pampy", "platform": ["python", "cross-platform"], "pushed_at": "2025-01-16T12:13:52+00:00", "repo": "santinic/pampy", "stars": 3523, "tags": ["pattern-matching", "functional-programming", "structural-matching", "algorithms"], "topics": ["python", "python3", "pattern-matching", "functional", "lisp-interpreter"], "urls": [], "use_cases": ["add pattern matching to python code", "match nested dicts and lists in python", "write a lisp interpreter in python", "replace if-else chains with pattern matching", "destructure lists with head and tail in python"], "what_it_is": "Pampy is a small (~150 line) Python library providing pattern matching, letting you match values against literals, types, tuples, lists, dicts, and wildcards with lambda handlers. It supports nested structures, HEAD/TAIL list matching, and REST arguments.", "when_to_avoid": ["you're on Python 3.10+, which has native structural pattern matching (match/case)", "you need maximum performance in hot code paths"], "when_to_choose": ["you want readable, functional-style dispatch over data structures in Python 3", "you need to match deeply nested lists, tuples, or dicts concisely"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/pampy", "repo": "santinic/pampy", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:07.983058+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:35:11.806289+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "37a1d584bba5b6b322ac29e0fdc5d429aaaf0d7875c6b00253f78a690dd529e8", "fetched_at": "2026-08-28T04:08:07.983058+00:00", "kind": "readme", "missing": false, "url": "https://github.com/santinic/pampy"}, {"content_hash": "95d2055750a1e168660280230bce1709fa70f5dd1a7a1e8faa7a0423f41e41cf", "fetched_at": "2026-08-29T09:29:14.644981+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pampy/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:07.983058+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:35:11.806289+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "37a1d584bba5b6b322ac29e0fdc5d429aaaf0d7875c6b00253f78a690dd529e8", "fetched_at": "2026-08-28T04:08:07.983058+00:00", "kind": "readme", "missing": false, "url": "https://github.com/santinic/pampy"}, {"content_hash": "95d2055750a1e168660280230bce1709fa70f5dd1a7a1e8faa7a0423f41e41cf", "fetched_at": "2026-08-29T09:29:14.644981+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pampy/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:35:11.806289+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "37a1d584bba5b6b322ac29e0fdc5d429aaaf0d7875c6b00253f78a690dd529e8", "fetched_at": "2026-08-28T04:08:07.983058+00:00", "kind": "readme", "missing": false, "url": "https://github.com/santinic/pampy"}, {"content_hash": "95d2055750a1e168660280230bce1709fa70f5dd1a7a1e8faa7a0423f41e41cf", "fetched_at": "2026-08-29T09:29:14.644981+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pampy/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:08:07.983058+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:07.983058+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:07.983058+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:35:11.806289+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "37a1d584bba5b6b322ac29e0fdc5d429aaaf0d7875c6b00253f78a690dd529e8", "fetched_at": "2026-08-28T04:08:07.983058+00:00", "kind": "readme", "missing": false, "url": "https://github.com/santinic/pampy"}, {"content_hash": "95d2055750a1e168660280230bce1709fa70f5dd1a7a1e8faa7a0423f41e41cf", "fetched_at": "2026-08-29T09:29:14.644981+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pampy/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:07.983058+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:07.983058+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:35:11.806289+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "37a1d584bba5b6b322ac29e0fdc5d429aaaf0d7875c6b00253f78a690dd529e8", "fetched_at": "2026-08-28T04:08:07.983058+00:00", "kind": "readme", "missing": false, "url": "https://github.com/santinic/pampy"}, {"content_hash": "95d2055750a1e168660280230bce1709fa70f5dd1a7a1e8faa7a0423f41e41cf", "fetched_at": "2026-08-29T09:29:14.644981+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pampy/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:07.983058+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:07.983058+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:07.983058+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:35:11.806289+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "37a1d584bba5b6b322ac29e0fdc5d429aaaf0d7875c6b00253f78a690dd529e8", "fetched_at": "2026-08-28T04:08:07.983058+00:00", "kind": "readme", "missing": false, "url": "https://github.com/santinic/pampy"}, {"content_hash": "95d2055750a1e168660280230bce1709fa70f5dd1a7a1e8faa7a0423f41e41cf", "fetched_at": "2026-08-29T09:29:14.644981+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pampy/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:07.983058+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:07.983058+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:35:11.806289+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "37a1d584bba5b6b322ac29e0fdc5d429aaaf0d7875c6b00253f78a690dd529e8", "fetched_at": "2026-08-28T04:08:07.983058+00:00", "kind": "readme", "missing": false, "url": "https://github.com/santinic/pampy"}, {"content_hash": "95d2055750a1e168660280230bce1709fa70f5dd1a7a1e8faa7a0423f41e41cf", "fetched_at": "2026-08-29T09:29:14.644981+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pampy/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:35:11.806289+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "37a1d584bba5b6b322ac29e0fdc5d429aaaf0d7875c6b00253f78a690dd529e8", "fetched_at": "2026-08-28T04:08:07.983058+00:00", "kind": "readme", "missing": false, "url": "https://github.com/santinic/pampy"}, {"content_hash": "95d2055750a1e168660280230bce1709fa70f5dd1a7a1e8faa7a0423f41e41cf", "fetched_at": "2026-08-29T09:29:14.644981+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pampy/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:35:11.806289+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "37a1d584bba5b6b322ac29e0fdc5d429aaaf0d7875c6b00253f78a690dd529e8", "fetched_at": "2026-08-28T04:08:07.983058+00:00", "kind": "readme", "missing": false, "url": "https://github.com/santinic/pampy"}, {"content_hash": "95d2055750a1e168660280230bce1709fa70f5dd1a7a1e8faa7a0423f41e41cf", "fetched_at": "2026-08-29T09:29:14.644981+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pampy/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:35:11.806289+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "37a1d584bba5b6b322ac29e0fdc5d429aaaf0d7875c6b00253f78a690dd529e8", "fetched_at": "2026-08-28T04:08:07.983058+00:00", "kind": "readme", "missing": false, "url": "https://github.com/santinic/pampy"}, {"content_hash": "95d2055750a1e168660280230bce1709fa70f5dd1a7a1e8faa7a0423f41e41cf", "fetched_at": "2026-08-29T09:29:14.644981+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pampy/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 1, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2855, "days_push": 594, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}