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 363,093 times in total on PyPI, including 32,276 in the last 30 days. The latest version is 3.12.0, released Sep 8, 2026.

Version3.12.0
Downloads
363.09k
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 total244.49k
363.1kAll-time
32.3kLast 30 days
1.8kLast 24 h
<0.01/sPer second

Version distribution

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

  • 01

    3.3.2

    11.9k downloads
    9.7%
  • 02

    3.8.0

    9.5k downloads
    7.7%
  • 03

    3.7.0

    8.7k downloads
    7.1%
  • 04

    3.12.0

    5.8k downloads
    4.7%
  • 05

    3.9.1

    4.7k downloads
    3.9%
  • 06

    3.10.0

    4.6k downloads
    3.8%
  • 07

    3.9.0

    4.6k downloads
    3.7%
  • 08

    3.11.1

    4.3k downloads
    3.5%
  • 09

    Other

    68.8k downloads
    55.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.

TRUTH1.8k738FRISATSUNMONTUEWEDTHUFRISATSUNMONTUEWED
    diff-diff · 363.1k downloads on PyPI