diff-diff
Difference-in-Differences causal inference with sklearn-like API. Callaway-Sant'Anna, Synthetic DiD, Honest DiD, event studies, parallel trends.
diff-diff has been downloaded 401,038 times in total on PyPI, including 39,747 in the last 30 days. The latest version is 3.12.0, released Sep 8, 2026.
Version3.12.0
Downloads
401.04k
License—
Authordiff-diff contributors
Downloads
Weekly, last 90d.
Includes CI traffic.
VersionsTotal3.*2.*
Range
View
Granularity
Group by
CI traffic
Stack: OffCI: Included3 / 86 series
Selected total242.43k
401.0kAll-time
39.7kLast 30 days
308Last 24 h
0.01/sPer second
Sponsored
Sponsorships keep pepy free to read
Version distribution
Share of downloads by released version. Computed over the last quarter.
- 0110.5%
3.12.0
12.7k downloadsDownloads12.7k10.5% - 028.6%
3.3.2
10.5k downloadsDownloads10.5k8.6% - 035.3%
3.13.0
6.4k downloadsDownloads6.4k5.3% - 044.4%
3.9.1
5.3k downloadsDownloads5.3k4.4% - 054.4%
3.9.0
5.3k downloadsDownloads5.3k4.4% - 064.3%
3.10.0
5.2k downloadsDownloads5.2k4.3% - 074.1%
3.11.1
4.9k downloadsDownloads4.9k4.1% - 083.9%
3.8.0
4.8k downloadsDownloads4.8k3.9% - 0954.5%
Other
66.2k downloadsDownloads66.2k54.5%
Guess the next day
Thirteen recent days of diff-diff downloads. Drag the green handle on the right to guess where day fourteen lands.