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 363,093 times in total on PyPI, including 32,276 in the last 30 days. The latest version is 3.12.0, released Sep 8, 2026.
Version3.12.0
Downloads
363.09k
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 total244.49k
363.1kAll-time
32.3kLast 30 days
1.8kLast 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.7%
3.3.2
11.9k downloadsDownloads11.9k9.7% - 027.7%
3.8.0
9.5k downloadsDownloads9.5k7.7% - 037.1%
3.7.0
8.7k downloadsDownloads8.7k7.1% - 044.7%
3.12.0
5.8k downloadsDownloads5.8k4.7% - 053.9%
3.9.1
4.7k downloadsDownloads4.7k3.9% - 063.8%
3.10.0
4.6k downloadsDownloads4.6k3.8% - 073.7%
3.9.0
4.6k downloadsDownloads4.6k3.7% - 083.5%
3.11.1
4.3k downloadsDownloads4.3k3.5% - 0955.9%
Other
68.8k downloadsDownloads68.8k55.9%
Guess the next day
Thirteen recent days of diff-diff downloads. Drag the green handle on the right to guess where day fourteen lands.