PyRank
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About

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

4.2M 814 110
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.

716K 5K 811
pgmpy
pgmpy

Python Toolkit for Causal and Probabilistic Reasoning

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

Causal Discovery in Python. Learning causality from data.

206K 2K 254
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.

170K 8K 1K
rdpackages
rdrobust

Robust Local Polynomial Methods for RD designs

98K 90 42
uber
causalml

Uplift modeling and causal inference with machine learning algorithms

82K 6K 857
DoubleML
doubleml

DoubleML - Double Machine Learning in Python

67K 737 116
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.

43K 237 37
maks-sh
scikit-uplift

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

41K 805 105
cdt15
lingam

Python package for causal discovery based on LiNGAM.

36K 490 71
pymc-labs
causalpy

A Python package for causal inference in quasi-experimental settings

35K 1K 104
hadesllm
morie

Multi-domain scientific computing toolkit hosting the MRM framework (Python + R).

24K 0 0
WillianFuks
tfcausalimpact

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

16K 671 77
antonbarr-data
dqtlib

A Data Quality Tool that tells you what and surfaces the why

10K 7 1
YuminosukeSato
bsts-causalimpact

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

6K 19 1
paul-krug
pytorch-tcn

(Realtime) Temporal Convolutions in PyTorch

6K 197 17
FenTechSolutions
cdt

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

6K 1K 202
y0-causal-inference
y0

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

5K 71 11
huawei-noah
gcastle

Trustworthy AI related projects

4K 1K 250
MasemeneMatlakanaBenny
mini-causal

A Python package for measuring the impact of features

4K 0 0
cdeust
neuro-cortex-memory

Persistent memory for Claude Code — 41 neuroscience papers, 26 biological mechanisms with paper-bearing per-mechanism ablation evidence (E1 v3). LongMemEval R@10 98.4% / MRR 0.9124 (n=500). LoCoMo R@10 94.2% / MRR 0.8278 (n=1986). BEAM-10M +33.4% over flat retrieval. PostgreSQL + pgvector. Verified via 31-row two-benchmark ablation campaign.

4K 34 7
sdfordham
pysyncon

A python module for the synthetic control method

4K 82 19
hadesllm
moirais

Multi-domain scientific computing toolkit hosting the MRM framework (Python + R).

3K 0 0
    • Data from PyPI, GitHub, ClickHouse, and BigQuery