Skip to main content

A backport of upcoming python/cpython#28136

Project description

textwrap

PyPI version

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

backports.textwrap-0.1.5.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

backports.textwrap-0.1.5-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

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

Hashes for backports.textwrap-0.1.5.tar.gz
Algorithm Hash digest
SHA256 c0db9bf4d92cf980bebdc38decbea5e483d0013d816ec33683a7ece289d6d324
MD5 0bc17a114fc018a7a36175c76e502f46
BLAKE2b-256 20c4e3dab52e8bc1466f70b2245de8564615359d26b3ba978b21a725d6edbc17

See more details on using hashes here.

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

Hashes for backports.textwrap-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c4f67ce3152b31194a3204fb5dd0f0fc98c4bb539b76c9a08783c439fd7f6aa7
MD5 4e4310bdee76ab5dfa32c2a11991bd77
BLAKE2b-256 171d8094819bcb767c782cd0abba825201dd37ccd8e803054a33529f2cf910af

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page