Make Python code more compact
Project description
compactify
Compactify collapses sequential lines with only ()[]{}, and whitespace into one.
Usage
pip install compactify
compactify /path/to/filename.py
cat /path/to/filename.py | compactify --from-stdin
Prerequisites
Compactify is tested with Python>=3.8.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
compactify-2.tar.gz
(5.9 kB
view hashes)