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 264,812 times in total on PyPI, including 47,343 in the last 30 days. The latest version is 3.4.1, released May 21, 2026.
Version3.4.1
Downloads
264.81k
License—
Authordiff-diff contributors
Downloads
Weekly, last 90d.
Includes CI traffic.
VersionsTotal3.*2.*
Range
View
Granularity
Group by
CI traffic
Stack: OffCI: Included3 / 79 series
Selected total268.69k
264.8kAll-time
47.3kLast 30 days
921Last 24 h
0.01/sPer second
Sponsored
Sponsorships keep pepy free to read
Version distribution
Share of downloads by released version. Computed over the last quarter.
- 0111.8%
3.3.2
15.9k downloadsDownloads15.9k11.8% - 024.5%
3.5.2
6.1k downloadsDownloads6.1k4.5% - 034.3%
3.3.0
5.8k downloadsDownloads5.8k4.3% - 044.3%
3.5.1
5.7k downloadsDownloads5.7k4.3% - 054.0%
3.4.1
5.4k downloadsDownloads5.4k4.0% - 063.9%
3.3.1
5.3k downloadsDownloads5.3k3.9% - 073.8%
3.4.2
5.2k downloadsDownloads5.2k3.8% - 083.8%
3.3.3
5.1k downloadsDownloads5.1k3.8% - 0959.6%
Other
80.5k downloadsDownloads80.5k59.6%
Guess the next day
Thirteen recent days of diff-diff downloads. Drag the green handle on the right to guess where day fourteen lands.