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 288,219 times in total on PyPI, including 35,910 in the last 30 days. The latest version is 3.4.1, released May 21, 2026.
Version3.4.1
Downloads
288.22k
License—
Authordiff-diff contributors
Downloads
Weekly, last 90d.
Includes CI traffic.
VersionsTotal3.*2.*
Range
View
Granularity
Group by
CI traffic
Stack: OffCI: Included3 / 79 series
Selected total263.82k
288.2kAll-time
35.9kLast 30 days
357Last 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.1%
3.3.2
13.3k downloadsDownloads13.3k10.1% - 025.6%
3.8.0
7.4k downloadsDownloads7.4k5.6% - 035.0%
3.5.2
6.5k downloadsDownloads6.5k5.0% - 044.7%
3.5.1
6.2k downloadsDownloads6.2k4.7% - 054.6%
3.7.0
6.0k downloadsDownloads6.0k4.6% - 064.3%
3.4.1
5.6k downloadsDownloads5.6k4.3% - 074.3%
3.4.2
5.6k downloadsDownloads5.6k4.3% - 084.2%
3.3.3
5.6k downloadsDownloads5.6k4.2% - 0957.1%
Other
75.0k downloadsDownloads75.0k57.1%
Guess the next day
Thirteen recent days of diff-diff downloads. Drag the green handle on the right to guess where day fourteen lands.