Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Causal Machine Learning Python Packages

Python packages with the GitHub topic causal-machine-learning. Sorted by monthly downloads, with stars and forks.
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.

206K 8K 1K
iridae-dev
antecedent

Antecedent is a causal-science compiler and evidence-aware runtime that turns declared scientific questions, models, and evidence into executable analyses and qualified results.

14K 3 1
bloomberg
causalts

Causal discovery (structure learning) for stationary and nonstationary multivariate time series in Python.

1K 119 65
huiyang-yi
causalcompass

[NeurIPS 2026] "CausalCompass: Evaluating the Robustness of Time-Series Causal Discovery in Misspecified Scenarios"

775 37 0
SUwonglab
causalegm

CausalEGM: an encoding generative modeling approach to dimension reduction and covariate adjustment in causal inference with observational studies

704 74 12
JianqiaoMao
causalbootstrapping

Causal identification and weighted empirical resampling for causal analysis.

571 2 0
JianqiaoMao
mechanism-learn

Mechanism-learn is a simple method to deconfound observational data such that any appropriate machine learning model is forced to learn predictive relationships between effects and their causes, despite the potential presence of multiple unknown and unmeasured confounding. The library is compatible with most existing ML deployments.

364 3 1
ShaokunAn
sccausalvi

A deep causality-aware model for disentangling treatment effects at single-cell resolution for perturbational scRNA-seq data

329 24 3
DSsoli
scmopy

scmopy: Distribution-Agnostic Structural Causal Models Optimization in Python

267 0 0
rivkalipko
synthnn

A Python package implementing the synthetic nearest neighbors estimator for panel data causal inference.

180 0 1
adrianjav
causalflows

CausalFlows: A library for Causal Normalizing Flows in Pytorch

149 34 0
athammad
onlinecml

Online Causal Machine Learning in Python — one observation at a time

88 3 0
lbynum
metadentify

Meta-/in-context/amortized causal inference for computational identifiability

75 1 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology