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 209,293 times in total on PyPI, including 52,561 in the last 30 days. The latest version is 3.4.1, released May 21, 2026.
Version3.4.1
Downloads
209.29k
License—
Authordiff-diff contributors
Downloads
Weekly, last 90d.
Includes CI traffic.
VersionsTotal3.*2.*
Range
View
Granularity
Group by
CI traffic
Stack: OffCI: Included3 / 73 series
Selected total303.98k
209.3kAll-time
52.6kLast 30 days
455Last 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.
- 017.3%
3.3.2
11.0k downloadsDownloads11.0k7.3% - 023.6%
2.9.0
5.5k downloadsDownloads5.5k3.6% - 033.2%
3.3.0
4.9k downloadsDownloads4.9k3.2% - 043.2%
2.8.4
4.8k downloadsDownloads4.8k3.2% - 053.1%
3.1.0
4.7k downloadsDownloads4.7k3.1% - 063.1%
3.4.1
4.7k downloadsDownloads4.7k3.1% - 073.1%
3.2.0
4.7k downloadsDownloads4.7k3.1% - 082.9%
3.1.2
4.4k downloadsDownloads4.4k2.9% - 0970.5%
Other
106.7k downloadsDownloads106.7k70.5%
Guess the next day
Thirteen recent days of diff-diff downloads. Drag the green handle on the right to guess where day fourteen lands.