{"adoption": {"forks": 114, "observed_at": "2026-09-01T02:14:06.106408+00:00", "stars": 1185}, "canonical_url": "https://ross.abutalabs.com/products/causalpy", "card": {"archived": false, "artifact_type": "library", "description": "A Python package for causal inference in quasi-experimental settings", "domain": ["data-science", "analytics", "machine-learning"], "enriched": true, "function": ["data-science", "machine-learning", "math"], "health_score": 100, "homepage": "https://causalpy.readthedocs.io", "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["pymc-labs/CausalPy"], "name": "pymc-labs/CausalPy", "platform": ["python"], "pushed_at": "2026-08-31T18:08:18+00:00", "repo": "pymc-labs/CausalPy", "stars": 1185, "tags": ["causal-inference", "quasi-experiments", "bayesian", "pymc", "difference-in-differences", "synthetic-control", "statistics"], "topics": ["causal-inference", "pymc", "quasi-experimental", "quasi-experiments"], "urls": [], "use_cases": ["estimate causal effects of an intervention without a randomized experiment", "run a difference-in-differences analysis in Python", "build a synthetic control model to measure a policy impact", "analyze interrupted time series around a product launch", "perform regression discontinuity analysis", "get Bayesian credible intervals for treatment effects", "measure lift from a marketing campaign or A/B-like test"], "what_it_is": "CausalPy is a Python package for causal inference in quasi-experimental settings, offering methods like difference-in-differences, synthetic control, regression discontinuity, and interrupted time series. It provides Bayesian estimation via PyMC with full uncertainty quantification, plus OLS via scikit-learn, with decision-ready effect summaries and plots.", "when_to_avoid": ["you need fully randomized A/B experiment analysis tooling", "you need a non-Python or GUI-based statistics environment", "you only need simple descriptive statistics or dashboards"], "when_to_choose": ["you need quasi-experimental causal inference methods in Python", "you want Bayesian uncertainty quantification for causal effect estimates", "you want publication-quality plots and effect summaries with HDI and ROPE"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/causalpy", "repo": "pymc-labs/CausalPy", "role": "main", "score": 94}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-09-01T02:14:06.106408+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:25:19.849781+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ef1c31eccc311770b7555d72a589dfe09507addfd1b180ba57c7092d1d68b132", "fetched_at": "2026-09-01T02:14:06.106408+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pymc-labs/CausalPy"}, {"content_hash": "3fa2c21480eff412b20a8868ced7dc30d1568ce9bb9152e0bd1e47c65d7d88da", "fetched_at": "2026-08-29T12:33:00.456466+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/causalpy/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-09-01T02:14:06.106408+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:25:19.849781+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ef1c31eccc311770b7555d72a589dfe09507addfd1b180ba57c7092d1d68b132", "fetched_at": "2026-09-01T02:14:06.106408+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pymc-labs/CausalPy"}, {"content_hash": "3fa2c21480eff412b20a8868ced7dc30d1568ce9bb9152e0bd1e47c65d7d88da", "fetched_at": "2026-08-29T12:33:00.456466+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/causalpy/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:25:19.849781+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ef1c31eccc311770b7555d72a589dfe09507addfd1b180ba57c7092d1d68b132", "fetched_at": "2026-09-01T02:14:06.106408+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pymc-labs/CausalPy"}, {"content_hash": "3fa2c21480eff412b20a8868ced7dc30d1568ce9bb9152e0bd1e47c65d7d88da", "fetched_at": "2026-08-29T12:33:00.456466+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/causalpy/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-09-01T02:14:06.106408+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-09-01T02:14:06.106408+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-09-01T02:14:06.106408+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:25:19.849781+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ef1c31eccc311770b7555d72a589dfe09507addfd1b180ba57c7092d1d68b132", "fetched_at": "2026-09-01T02:14:06.106408+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pymc-labs/CausalPy"}, {"content_hash": "3fa2c21480eff412b20a8868ced7dc30d1568ce9bb9152e0bd1e47c65d7d88da", "fetched_at": "2026-08-29T12:33:00.456466+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/causalpy/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-09-01T02:14:06.106408+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-09-01T02:14:06.106408+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:25:19.849781+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ef1c31eccc311770b7555d72a589dfe09507addfd1b180ba57c7092d1d68b132", "fetched_at": "2026-09-01T02:14:06.106408+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pymc-labs/CausalPy"}, {"content_hash": "3fa2c21480eff412b20a8868ced7dc30d1568ce9bb9152e0bd1e47c65d7d88da", "fetched_at": "2026-08-29T12:33:00.456466+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/causalpy/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-09-01T02:14:06.106408+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-09-01T02:14:06.106408+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-09-01T02:14:06.106408+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:25:19.849781+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ef1c31eccc311770b7555d72a589dfe09507addfd1b180ba57c7092d1d68b132", "fetched_at": "2026-09-01T02:14:06.106408+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pymc-labs/CausalPy"}, {"content_hash": "3fa2c21480eff412b20a8868ced7dc30d1568ce9bb9152e0bd1e47c65d7d88da", "fetched_at": "2026-08-29T12:33:00.456466+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/causalpy/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-09-01T02:14:06.106408+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-09-01T02:14:06.106408+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:25:19.849781+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ef1c31eccc311770b7555d72a589dfe09507addfd1b180ba57c7092d1d68b132", "fetched_at": "2026-09-01T02:14:06.106408+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pymc-labs/CausalPy"}, {"content_hash": "3fa2c21480eff412b20a8868ced7dc30d1568ce9bb9152e0bd1e47c65d7d88da", "fetched_at": "2026-08-29T12:33:00.456466+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/causalpy/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:25:19.849781+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ef1c31eccc311770b7555d72a589dfe09507addfd1b180ba57c7092d1d68b132", "fetched_at": "2026-09-01T02:14:06.106408+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pymc-labs/CausalPy"}, {"content_hash": "3fa2c21480eff412b20a8868ced7dc30d1568ce9bb9152e0bd1e47c65d7d88da", "fetched_at": "2026-08-29T12:33:00.456466+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/causalpy/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:25:19.849781+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ef1c31eccc311770b7555d72a589dfe09507addfd1b180ba57c7092d1d68b132", "fetched_at": "2026-09-01T02:14:06.106408+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pymc-labs/CausalPy"}, {"content_hash": "3fa2c21480eff412b20a8868ced7dc30d1568ce9bb9152e0bd1e47c65d7d88da", "fetched_at": "2026-08-29T12:33:00.456466+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/causalpy/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:25:19.849781+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ef1c31eccc311770b7555d72a589dfe09507addfd1b180ba57c7092d1d68b132", "fetched_at": "2026-09-01T02:14:06.106408+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pymc-labs/CausalPy"}, {"content_hash": "3fa2c21480eff412b20a8868ced7dc30d1568ce9bb9152e0bd1e47c65d7d88da", "fetched_at": "2026-08-29T12:33:00.456466+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/causalpy/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 100, "longevity": 100, "rhythm": 83}, "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": 1442, "days_push": 2, "days_rel": 36, "gap_med": 59, "n_releases_24m": 8}, "score": 94, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 5, "stale_scrape": false}}