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 231,699 times in total on PyPI, including 45,765 in the last 30 days. The latest version is 3.4.1, released May 21, 2026.
Version3.4.1
Downloads
231.70k
License—
Authordiff-diff contributors
Downloads
Weekly, last 90d.
Includes CI traffic.
VersionsTotal3.*2.*
Range
View
Granularity
Group by
CI traffic
Stack: OffCI: Included3 / 75 series
Selected total292.70k
231.7kAll-time
45.8kLast 30 days
901Last 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.1%
3.3.2
13.4k downloadsDownloads13.4k9.1% - 023.9%
2.9.0
5.7k downloadsDownloads5.7k3.9% - 033.6%
3.3.0
5.4k downloadsDownloads5.4k3.6% - 043.6%
3.5.2
5.3k downloadsDownloads5.3k3.6% - 053.5%
3.2.0
5.1k downloadsDownloads5.1k3.5% - 063.4%
3.4.1
5.1k downloadsDownloads5.1k3.4% - 073.4%
2.8.4
5.0k downloadsDownloads5.0k3.4% - 083.4%
3.5.1
5.0k downloadsDownloads5.0k3.4% - 0966.1%
Other
97.2k downloadsDownloads97.2k66.1%
Guess the next day
Thirteen recent days of diff-diff downloads. Drag the green handle on the right to guess where day fourteen lands.
