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 231,699 times in total on PyPI, including 45,765 in the last 30 days. The latest version is 3.4.1, released May 21, 2026.

Version3.4.1
Downloads
231.70k
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 / 75 series
Selected total292.70k
231.7kAll-time
45.8kLast 30 days
901Last 24 h
0.02/sPer second

Version distribution

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

  • 01

    3.3.2

    13.4k downloads
    9.1%
  • 02

    2.9.0

    5.7k downloads
    3.9%
  • 03

    3.3.0

    5.4k downloads
    3.6%
  • 04

    3.5.2

    5.3k downloads
    3.6%
  • 05

    3.2.0

    5.1k downloads
    3.5%
  • 06

    3.4.1

    5.1k downloads
    3.4%
  • 07

    2.8.4

    5.0k downloads
    3.4%
  • 08

    3.5.1

    5.0k downloads
    3.4%
  • 09

    Other

    97.2k downloads
    66.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.

TRUTH9013.4kWEDTHUFRISATSUNMONTUEWEDTHUFRISATSUNMON
    diff-diff · 231.7k downloads on PyPI