Wraps text without breaking words.
Project description
pytextwrap
Wraps your text files to a given width (defaults to 72), without breaking words.
I use it to format AoC problems to python docstrings for my solutions repo.
I also use it for Daily Byte.
Installation
pip install pytextwrap
Usage
textwrap path/to/file
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
pytextwrap-1.0.1.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for pytextwrap-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c99cd550edeae636633aed5449ee8f355ad6b5fb124fd78a8f0e301f9b33e76 |
|
MD5 | cdcaf44c06eb4cf6f71ed86bf728c76b |
|
BLAKE2b-256 | 191d2e2a04946cb157424d46114e684c9f6b6b94ab86c2f830eda8589632e19a |