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 202,022 times in total on PyPI, including 49,775 in the last 30 days. The latest version is 3.4.1, released May 21, 2026.

Version3.4.1
Downloads
202.02k
License
Authordiff-diff contributors
UpdatedMay 21, 2026

Downloads

Weekly, last 90d.
Includes CI traffic.

VersionsTotal3.*2.*
Range
View
Granularity
Group by
CI traffic
Stack: OffCI: Included3 / 72 series
Selected total293.07k
202.0kAll-time
49.8kLast 30 days
1.6kLast 24 h
0.03/sPer second

Version distribution

Share of downloads by released version. Computed over the last quarter.

  • 01

    3.3.2

    10.3k downloads
    7.0%
  • 02

    2.9.0

    5.4k downloads
    3.7%
  • 03

    3.3.0

    4.8k downloads
    3.3%
  • 04

    2.8.4

    4.8k downloads
    3.3%
  • 05

    3.1.0

    4.7k downloads
    3.2%
  • 06

    3.4.1

    4.7k downloads
    3.2%
  • 07

    3.2.0

    4.6k downloads
    3.1%
  • 08

    3.0.2

    4.3k downloads
    2.9%
  • 09

    Other

    103.1k downloads
    70.3%

Guess the next day

Thirteen recent days of diff-diff downloads. Drag the green handle on the right to guess where day fourteen lands.

TRUTH1.6k3.9kMONTUEWEDTHUFRISATSUNMONTUEWEDTHUFRISAT