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 375,634 times in total on PyPI, including 29,659 in the last 30 days. The latest version is 3.12.0, released Sep 8, 2026.
Version3.12.0
Downloads
375.63k
License—
Authordiff-diff contributors
Downloads
Weekly, last 90d.
Includes CI traffic.
VersionsTotal3.*2.*
Range
View
Granularity
Group by
CI traffic
Stack: OffCI: Included3 / 85 series
Selected total239.74k
375.6kAll-time
29.7kLast 30 days
4.9kLast 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.
- 0110.0%
3.3.2
12.0k downloadsDownloads12.0k10.0% - 028.1%
3.8.0
9.7k downloadsDownloads9.7k8.1% - 036.9%
3.12.0
8.3k downloadsDownloads8.3k6.9% - 044.9%
3.7.0
5.8k downloadsDownloads5.8k4.9% - 054.1%
3.9.1
4.9k downloadsDownloads4.9k4.1% - 064.1%
3.10.0
4.9k downloadsDownloads4.9k4.1% - 074.0%
3.9.0
4.8k downloadsDownloads4.8k4.0% - 083.8%
3.11.1
4.5k downloadsDownloads4.5k3.8% - 0954.1%
Other
64.5k downloadsDownloads64.5k54.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.