A backport of upcoming python/cpython#28136
Project description
textwrap
A backport of upcoming python/cpython#28136 with some additional fixes.
Motivated due to jquast/blessed using textwrap, but this fails for zero-width characters. This allows setting text_len to, for example, wcswidth for more accuracy when word wrapping in the terminal.
This uses the backports package style, see https://pypi.python.org/pypi/backports.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file backports.textwrap-0.1.5.tar.gz
.
File metadata
- Download URL: backports.textwrap-0.1.5.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0db9bf4d92cf980bebdc38decbea5e483d0013d816ec33683a7ece289d6d324 |
|
MD5 | 0bc17a114fc018a7a36175c76e502f46 |
|
BLAKE2b-256 | 20c4e3dab52e8bc1466f70b2245de8564615359d26b3ba978b21a725d6edbc17 |
File details
Details for the file backports.textwrap-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: backports.textwrap-0.1.5-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4f67ce3152b31194a3204fb5dd0f0fc98c4bb539b76c9a08783c439fd7f6aa7 |
|
MD5 | 4e4310bdee76ab5dfa32c2a11991bd77 |
|
BLAKE2b-256 | 171d8094819bcb767c782cd0abba825201dd37ccd8e803054a33529f2cf910af |