python-wcwidth
Subpackage Descriptions
| single |
|pypi_downloads| |codecov| |license|
============
Introduction
============
This library is mainly for CLI/TUI programs that carefully produce output
for Terminals.
Installation
------------
The stable version of this package is maintained on pypi, install or
upgrade, using pip::
pip install --upgrade wcwidth
Problem
-------
All Python string-formatting functions, `textwrap.wrap()`_, `str.ljust()`_,
`str.rjust()`_, and
`str.center()`_ **incorrectly** measure the displayed width of a string as
equal to the number of
their codepoints.
Some examples of **incorrect results**:
:alt: MIT License
|
Configuration Switches (platform-specific settings discarded)
PY313 ON Build using Python 3.13
PY314 OFF Build using Python 3.14
Package Dependencies by Type
Download groups
| main |
mirror://PYPIWHL/c4/0e/57f6bb3024a597b2e8ec4aee710ffe62ddc95af2e2bb1ee7a7abdc22c68c |
Distribution File Information
d5b73dba6158a595ec9370350e7f2637bcac8d6c5e4fde34f30fcffb6103a5e4 331669 python-src/wcwidth-0.8.3-py3-none-any.whl
Ports that require python-wcwidth:v13