shfmt-py

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

shfmt-py has been downloaded 4,085,948 times in total on PyPI, including 973,176 in the last 30 days. The latest version is 4.2.0, released Sep 7, 2026. It is distributed under the MIT AND BSD-3-Clause license.

Version4.2.0
Downloads
4.09M
LicenseMIT AND BSD-3-Clause
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 total3.62M
4.1MAll-time
973.2kLast 30 days
42.4kLast 24 h
0.41/sPer second

Version distribution

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

  • 01

    4.2.0

    1.2M downloads
    68.1%
  • 02

    3.12.0.2

    219.8k downloads
    12.1%
  • 03

    4.1.0

    212.1k downloads
    11.7%
  • 04

    4.0.0

    101.6k downloads
    5.6%
  • 05

    3.13.0.3

    22.8k downloads
    1.3%
  • 06

    3.7.0.1

    11.3k downloads
    0.6%
  • 07

    3.11.0.2

    6.9k downloads
    0.4%
  • 08

    4.1.0rc1

    1.1k downloads
    <0.1%
  • 09

    Other

    1.7k downloads
    <0.1%

Guess the next day

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

TRUTH42.4k39.9kFRISATSUNMONTUEWEDTHUFRISATSUNMONTUEWED