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 226,621 times in total on PyPI, including 43,947 in the last 30 days. The latest version is 3.4.1, released May 21, 2026.
Version3.4.1
Downloads
226.62k
License—
Authordiff-diff contributors
Downloads
Weekly, last 90d.
Includes CI traffic.
VersionsTotal3.*2.*
Range
View
Granularity
Group by
CI traffic
Stack: OffCI: Included3 / 74 series
Selected total297.59k
226.6kAll-time
43.9kLast 30 days
822Last 24 h
0.02/sPer second
Sponsored
Sponsorships keep pepy free to read
Version distribution
Share of downloads by released version. Computed over the last quarter.
- 018.7%
3.3.2
13.0k downloadsDownloads13.0k8.7% - 023.8%
2.9.0
5.6k downloadsDownloads5.6k3.8% - 033.5%
3.3.0
5.3k downloadsDownloads5.3k3.5% - 043.5%
3.5.2
5.2k downloadsDownloads5.2k3.5% - 053.4%
3.4.1
5.0k downloadsDownloads5.0k3.4% - 063.4%
3.2.0
5.0k downloadsDownloads5.0k3.4% - 073.3%
2.8.4
5.0k downloadsDownloads5.0k3.3% - 083.3%
3.1.0
4.9k downloadsDownloads4.9k3.3% - 0967.2%
Other
100.5k downloadsDownloads100.5k67.2%
Guess the next day
Thirteen recent days of diff-diff downloads. Drag the green handle on the right to guess where day fourteen lands.