shfmt-py

Installs the shfmt shell script formatter binary, plus a ready-made pre-commit hook

shfmt-py has been downloaded 2,946,632 times in total on PyPI, including 442,232 in the last 30 days. The latest version is 4.2.0, released Sep 7, 2026.

Version4.2.0
Downloads
2.95M
License—
AuthorMax Winterstein
UpdatedSep 7, 2026

Downloads

Weekly, last 90d.
Includes CI traffic.

VersionsTotal4.*3.*
Range
View
Granularity
Group by
CI traffic
Stack: OffCI: Included3 / 21 series
Selected total2.33M
2.9MAll-time
442.2kLast 30 days
23.4kLast 24 h
0.21/sPer second

Version distribution

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

  • 01

    4.0.0

    509.3k downloads
    43.8%
  • 02

    4.2.0

    382.5k downloads
    32.9%
  • 03

    4.1.0

    169.2k downloads
    14.5%
  • 04

    3.12.0.2

    76.9k downloads
    6.6%
  • 05

    3.7.0.1

    11.1k downloads
    1.0%
  • 06

    3.13.0.3

    7.6k downloads
    0.7%
  • 07

    3.11.0.2

    4.0k downloads
    0.3%
  • 08

    3.4.3.1

    1.0k downloads
    <0.1%
  • 09

    Other

    1.9k downloads
    0.2%

Guess the next day

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

TRUTH23.4k12.6kMONTUEWEDTHUFRISATMONTUEWEDTHUFRISATSUN