Install & Compatibility
Where this runs
tested against v6.4.3 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18.4MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 1.7s · import 0.000s · 19MB
16MB installed
● package 16MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
BeautyshCLI
✓ from beautysh import BeautyshCLI
✗ from beautysh import beautysh
BeautyshConfig
✓ from beautysh import BeautyshConfig
✗ from beautysh import beautysh
BashFormatter
✓ from beautysh import BashFormatter
✗ from beautysh import beautysh
Basic usage: format a bash script file using beautysh.
from beautysh import beautysh
import tempfile, os
code = '''if [ -z "$1" ]; then
echo "No argument"
fi'''
with tempfile.NamedTemporaryFile(mode='w', suffix='.sh', delete=False) as f:
f.write(code)
fname = f.name
try:
result = beautysh(files=[fname])
print('Formatted successfully')
finally:
os.unlink(fname)
beautysh --version
Upgrade
Version history
6.4.3latest on PyPI · released Mar 12, 2026
Audit
Dependencies
No dependency data recorded yet.