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 241,861 times in total on PyPI, including 44,641 in the last 30 days. The latest version is 3.4.1, released May 21, 2026.
Version3.4.1
Downloads
241.86k
License—
Authordiff-diff contributors
Downloads
Weekly, last 90d.
Includes CI traffic.
VersionsTotal3.*2.*
Range
View
Granularity
Group by
CI traffic
Stack: OffCI: Included3 / 77 series
Selected total293.68k
241.9kAll-time
44.6kLast 30 days
762Last 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.4%
3.3.2
13.9k downloadsDownloads13.9k9.4% - 023.8%
3.5.2
5.6k downloadsDownloads5.6k3.8% - 033.7%
3.3.0
5.5k downloadsDownloads5.5k3.7% - 043.6%
3.5.1
5.3k downloadsDownloads5.3k3.6% - 053.5%
3.2.0
5.2k downloadsDownloads5.2k3.5% - 063.5%
3.4.1
5.1k downloadsDownloads5.1k3.5% - 073.4%
3.1.0
5.0k downloadsDownloads5.0k3.4% - 083.3%
3.3.1
4.9k downloadsDownloads4.9k3.3% - 0965.9%
Other
97.2k downloadsDownloads97.2k65.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.