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 401,038 times in total on PyPI, including 39,747 in the last 30 days. The latest version is 3.12.0, released Sep 8, 2026.

Version3.12.0
Downloads
401.04k
License—
Authordiff-diff contributors
UpdatedSep 8, 2026

Downloads

Weekly, last 90d.
Includes CI traffic.

VersionsTotal3.*2.*
Range
View
Granularity
Group by
CI traffic
Stack: OffCI: Included3 / 86 series
Selected total242.43k
401.0kAll-time
39.7kLast 30 days
308Last 24 h
0.01/sPer second

Version distribution

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

  • 01

    3.12.0

    12.7k downloads
    10.5%
  • 02

    3.3.2

    10.5k downloads
    8.6%
  • 03

    3.13.0

    6.4k downloads
    5.3%
  • 04

    3.9.1

    5.3k downloads
    4.4%
  • 05

    3.9.0

    5.3k downloads
    4.4%
  • 06

    3.10.0

    5.2k downloads
    4.3%
  • 07

    3.11.1

    4.9k downloads
    4.1%
  • 08

    3.8.0

    4.8k downloads
    3.9%
  • 09

    Other

    66.2k downloads
    54.5%

Guess the next day

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

TRUTH3081.1kSATSUNMONTUEWEDTHUFRISATSUNMONTUEWEDTHU