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 241,861 times in total on PyPI, including 44,641 in the last 30 days. The latest version is 3.4.1, released May 21, 2026.

Version3.4.1
Downloads
241.86k
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 / 77 series
Selected total293.68k
241.9kAll-time
44.6kLast 30 days
762Last 24 h
0.02/sPer second

Version distribution

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

  • 01

    3.3.2

    13.9k downloads
    9.4%
  • 02

    3.5.2

    5.6k downloads
    3.8%
  • 03

    3.3.0

    5.5k downloads
    3.7%
  • 04

    3.5.1

    5.3k downloads
    3.6%
  • 05

    3.2.0

    5.2k downloads
    3.5%
  • 06

    3.4.1

    5.1k downloads
    3.5%
  • 07

    3.1.0

    5.0k downloads
    3.4%
  • 08

    3.3.1

    4.9k downloads
    3.3%
  • 09

    Other

    97.2k downloads
    65.9%

Guess the next day

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

TRUTH7621.0kMONTUEWEDTHUFRISATSUNMONTUEWEDTHUFRISAT