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 281,288 times in total on PyPI, including 41,194 in the last 30 days. The latest version is 3.4.1, released May 21, 2026.
Version3.4.1
Downloads
281.29k
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 total265.52k
281.3kAll-time
41.2kLast 30 days
1.7kLast 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.
- 0110.6%
3.3.2
14.0k downloadsDownloads14.0k10.6% - 024.9%
3.5.2
6.4k downloadsDownloads6.4k4.9% - 034.6%
3.5.1
6.1k downloadsDownloads6.1k4.6% - 044.3%
3.7.0
5.7k downloadsDownloads5.7k4.3% - 054.3%
3.8.0
5.6k downloadsDownloads5.6k4.3% - 064.2%
3.4.1
5.6k downloadsDownloads5.6k4.2% - 074.2%
3.4.2
5.5k downloadsDownloads5.5k4.2% - 084.1%
3.3.3
5.5k downloadsDownloads5.5k4.1% - 0958.8%
Other
77.8k downloadsDownloads77.8k58.8%
Guess the next day
Thirteen recent days of diff-diff downloads. Drag the green handle on the right to guess where day fourteen lands.