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 353,455 times in total on PyPI, including 46,745 in the last 30 days. The latest version is 3.4.1, released May 21, 2026.
Version3.4.1
Downloads
353.45k
License—
Authordiff-diff contributors
Downloads
Weekly, last 90d.
Includes CI traffic.
VersionsTotal3.*2.*
Range
View
Granularity
Group by
CI traffic
Stack: OffCI: Included3 / 85 series
Selected total269.86k
353.5kAll-time
46.7kLast 30 days
255Last 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.
- 019.0%
3.3.2
12.2k downloadsDownloads12.2k9.0% - 026.8%
3.8.0
9.3k downloadsDownloads9.3k6.8% - 035.8%
3.7.0
7.9k downloadsDownloads7.9k5.8% - 043.9%
3.6.2
5.2k downloadsDownloads5.2k3.9% - 053.7%
3.6.1
5.0k downloadsDownloads5.0k3.7% - 063.6%
3.5.3
4.9k downloadsDownloads4.9k3.6% - 073.4%
3.9.1
4.6k downloadsDownloads4.6k3.4% - 083.3%
3.10.0
4.5k downloadsDownloads4.5k3.3% - 0960.4%
Other
81.8k downloadsDownloads81.8k60.4%
Guess the next day
Thirteen recent days of diff-diff downloads. Drag the green handle on the right to guess where day fourteen lands.