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 326,650 times in total on PyPI, including 50,635 in the last 30 days. The latest version is 3.4.1, released May 21, 2026.

Version3.4.1
Downloads
326.65k
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 / 83 series
Selected total280.44k
326.6kAll-time
50.6kLast 30 days
2.1kLast 24 h
0.02/sPer second

Version distribution

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

  • 01

    3.3.2

    12.6k downloads
    9.0%
  • 02

    3.8.0

    8.9k downloads
    6.3%
  • 03

    3.5.2

    7.1k downloads
    5.0%
  • 04

    3.5.1

    6.7k downloads
    4.8%
  • 05

    3.7.0

    6.7k downloads
    4.7%
  • 06

    3.6.2

    5.0k downloads
    3.5%
  • 07

    3.5.0

    4.9k downloads
    3.5%
  • 08

    3.6.1

    4.8k downloads
    3.4%
  • 09

    Other

    84.1k downloads
    59.8%

Guess the next day

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

TRUTH2.1k448SUNMONTUEWEDTHUFRISATSUNMONTUEWEDTHUFRI