PyPI Stats
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About
Home

Causal Inference Python Packages

Python packages with the GitHub topic causal-inference. Sorted by relevance, with stars and monthly downloads.
BiomedSciAI
causallib

A Python package for modular causal inference analysis and model evaluations

2.3M 812 109
py-why
econml

ALICE (Automated Learning and Intelligence for Causation and Economics) is a Microsoft Research project aimed at applying Artificial Intelligence concepts to economic decision making. One of its goals is to build a toolkit that combines state-of-the-art machine learning techniques with econometrics in order to bring automation to complex causal inference problems. To date, the ALICE Python SDK (econml) implements orthogonal machine learning algorithms such as the double machine learning work of Chernozhukov et al. This toolkit is designed to measure the causal effect of some treatment variable(s) t on an outcome variable y, controlling for a set of features x.

606K 5K 806
pgmpy
pgmpy

Python Toolkit for Causal and Probabilistic Reasoning

447K 3K 1K
py-why
causal-learn

Causal Discovery in Python. Learning causality from data.

165K 2K 251
py-why
dowhy

DoWhy is a Python library for causal inference that supports explicit modeling and testing of causal assumptions. DoWhy is based on a unified language for causal inference, combining causal graphical models and potential outcomes frameworks.

144K 8K 1K
rdpackages
rdrobust

Statistical inference and graphical procedures for RD designs using local polynomial and partitioning regression methods.

125K 91 42
DoubleML
doubleml

DoubleML - Double Machine Learning in Python

82K 731 116
uber
causalml

Uplift modeling and causal inference with machine learning algorithms

74K 6K 855
igerber
diff-diff

Difference-in-Differences causal inference in Python. Callaway-Sant'Anna, Synthetic DiD, Honest DiD, event studies. sklearn-like API, validated against R.

62K 167 25
maks-sh
scikit-uplift

:exclamation: uplift modeling in scikit-learn style in python :snake:

53K 804 105
pymc-labs
causalpy

A Python package for causal inference in quasi-experimental settings

36K 1K 103
cdt15
lingam

Python package for causal discovery based on LiNGAM.

30K 482 71
WillianFuks
tfcausalimpact

Python Causal Impact Implementation Based on Google's R Package. Built using TensorFlow Probability.

16K 671 77
cdeust
neuro-cortex-memory

Persistent memory for Claude Code — 41 neuroscience papers, 20 biological mechanisms. 97.8% R@10 LongMemEval | 92.6% R@10 LoCoMo | +33.4% BEAM-10M over flat retrieval (0.471 vs 0.353). Stage-Aware Context Assembly. PostgreSQL + pgvector.

9K 26 8
paul-krug
pytorch-tcn

(Realtime) Temporal Convolutions in PyTorch

9K 196 17
YuminosukeSato
bsts-causalimpact

Bayesian CausalImpact for Python — R-compatible Gibbs sampler in Rust (PyO3), 30x faster, no TensorFlow

7K 19 1
huawei-noah
gcastle

Trustworthy AI related projects

5K 1K 249
FenTechSolutions
cdt

Package for causal inference in graphs and in the pairwise settings. Tools for graph structure recovery and dependencies are included.

5K 1K 202
sdfordham
pysyncon

A python module for the synthetic control method

4K 82 19
amazon-science
azcausal

Causal Inference in Python

4K 46 10
jackdark425
aigroup-econ-mcp

Econometrics MCP server for regression, causal inference, time series, panel data, and statistical analysis workflows.

4K 8 3
sb-ai-lab
hypex

Fast and customizable framework for automatic and quick Causal Inference in Python

3K 128 10
AdamKrysztopa
dependence-forecastability

General-purpose Python toolkit for horizon-wise forecastability analysis using interchangeable dependence scorers, with AMI/pAMI support, rolling-origin benchmarking, and reproducible reporting.

3K 3 0
y0-causal-inference
y0

❓y0 (pronounced "why not?") is for causal inference in Python

3K 70 11
    • Data from PyPI, GitHub, ClickHouse, and BigQuery