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 427,731 times in total on PyPI, including 32,971 in the last 30 days. The latest version is 4.0.0, released Nov 2, 2026. It is distributed under the MIT license.
Version4.0.0
Downloads
427.73k
LicenseMIT
Authordiff-diff contributors
Downloads
Weekly, last 90d.
Includes CI traffic.
VersionsTotal4.*3.*
Range
View
Granularity
Group by
CI traffic
Stack: OffCI: Included3 / 87 series
Selected total198.45k
427.7kAll-time
33.0kLast 30 days
1.4kLast 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.
- 0113.0%
3.12.0
13.8k downloadsDownloads13.8k13.0% - 0210.2%
3.13.0
10.8k downloadsDownloads10.8k10.2% - 037.6%
3.3.2
8.1k downloadsDownloads8.1k7.6% - 045.1%
3.11.1
5.4k downloadsDownloads5.4k5.1% - 054.9%
4.0.0
5.1k downloadsDownloads5.1k4.9% - 064.1%
3.11.0
4.4k downloadsDownloads4.4k4.1% - 073.7%
3.7.0
3.9k downloadsDownloads3.9k3.7% - 082.8%
3.10.0
3.0k downloadsDownloads3.0k2.8% - 0948.7%
Other
51.6k downloadsDownloads51.6k48.7%
Guess the next day
Thirteen recent days of diff-diff downloads. Drag the green handle on the right to guess where day fourteen lands.