Wraps text without breaking words.
Project description
textwrapper
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 textwrapper
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
textwrapper-1.0.2.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for textwrapper-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86851d7d30701d5cd4f24c8e79d04424573f28d615c95fee67d18ea431d5bc6d |
|
MD5 | 4615c719fc8c71b5ec5bafd8ddea13ae |
|
BLAKE2b-256 | 5c1045131179eb1ffa5092a172b562e60a23aec5220dba5f55d669599dc44ff2 |