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 202,022 times in total on PyPI, including 49,775 in the last 30 days. The latest version is 3.4.1, released May 21, 2026.
Version3.4.1
Downloads
202.02k
License—
Authordiff-diff contributors
Downloads
Weekly, last 90d.
Includes CI traffic.
VersionsTotal3.*2.*
Range
View
Granularity
Group by
CI traffic
Stack: OffCI: Included3 / 72 series
Selected total293.07k
202.0kAll-time
49.8kLast 30 days
1.6kLast 24 h
0.03/sPer second
Sponsored
Sponsorships keep pepy free to read
Version distribution
Share of downloads by released version. Computed over the last quarter.
- 017.0%
3.3.2
10.3k downloadsDownloads10.3k7.0% - 023.7%
2.9.0
5.4k downloadsDownloads5.4k3.7% - 033.3%
3.3.0
4.8k downloadsDownloads4.8k3.3% - 043.3%
2.8.4
4.8k downloadsDownloads4.8k3.3% - 053.2%
3.1.0
4.7k downloadsDownloads4.7k3.2% - 063.2%
3.4.1
4.7k downloadsDownloads4.7k3.2% - 073.1%
3.2.0
4.6k downloadsDownloads4.6k3.1% - 082.9%
3.0.2
4.3k downloadsDownloads4.3k2.9% - 0970.3%
Other
103.1k downloadsDownloads103.1k70.3%
Guess the next day
Thirteen recent days of diff-diff downloads. Drag the green handle on the right to guess where day fourteen lands.