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 326,650 times in total on PyPI, including 50,635 in the last 30 days. The latest version is 3.4.1, released May 21, 2026.
Version3.4.1
Downloads
326.65k
License—
Authordiff-diff contributors
Downloads
Weekly, last 90d.
Includes CI traffic.
VersionsTotal3.*2.*
Range
View
Granularity
Group by
CI traffic
Stack: OffCI: Included3 / 83 series
Selected total280.44k
326.6kAll-time
50.6kLast 30 days
2.1kLast 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.
- 019.0%
3.3.2
12.6k downloadsDownloads12.6k9.0% - 026.3%
3.8.0
8.9k downloadsDownloads8.9k6.3% - 035.0%
3.5.2
7.1k downloadsDownloads7.1k5.0% - 044.8%
3.5.1
6.7k downloadsDownloads6.7k4.8% - 054.7%
3.7.0
6.7k downloadsDownloads6.7k4.7% - 063.5%
3.6.2
5.0k downloadsDownloads5.0k3.5% - 073.5%
3.5.0
4.9k downloadsDownloads4.9k3.5% - 083.4%
3.6.1
4.8k downloadsDownloads4.8k3.4% - 0959.8%
Other
84.1k downloadsDownloads84.1k59.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.