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
UpdatedSep 8, 2026

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

Version distribution

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

  • 01

    3.3.2

    12.0k downloads
    10.0%
  • 02

    3.8.0

    9.7k downloads
    8.1%
  • 03

    3.12.0

    8.3k downloads
    6.9%
  • 04

    3.7.0

    5.8k downloads
    4.9%
  • 05

    3.9.1

    4.9k downloads
    4.1%
  • 06

    3.10.0

    4.9k downloads
    4.1%
  • 07

    3.9.0

    4.8k downloads
    4.0%
  • 08

    3.11.1

    4.5k downloads
    3.8%
  • 09

    Other

    64.5k downloads
    54.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.

TRUTH4.9k561SUNMONTUEWEDTHUFRISATSUNMONTUEWEDTHUFRI