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
UpdatedNov 2, 2026

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

Version distribution

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

  • 01

    3.12.0

    13.8k downloads
    13.0%
  • 02

    3.13.0

    10.8k downloads
    10.2%
  • 03

    3.3.2

    8.1k downloads
    7.6%
  • 04

    3.11.1

    5.4k downloads
    5.1%
  • 05

    4.0.0

    5.1k downloads
    4.9%
  • 06

    3.11.0

    4.4k downloads
    4.1%
  • 07

    3.7.0

    3.9k downloads
    3.7%
  • 08

    3.10.0

    3.0k downloads
    2.8%
  • 09

    Other

    51.6k downloads
    48.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.

TRUTH1.4k3.0kMONTUEWEDTHUFRISATSUNMONTUEWEDTHUFRISAT