ehrapy includes a lightweight set of causal inference estimators built on scikit-learn.
Average Treatment Effect (ATE) Estimators (for binary treatments via IPTW, parametric g-computation, doubly-robust AIPW, or propensity score matching):
tools.iptwtools.g_computationtools.aipwtools.propensity_score_matching
Conditional Average Treatment Effect (CATE) Estimators (Meta-learners):
tools.t_learnertools.s_learnertools.x_learner
Diagnostics:
tools.covariate_balancetools.positivity_checktools.CausalEstimate