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 OFF Build using Python 3.13
PY314 ON Build using Python 3.14
Package Dependencies by Type
Download groups
| main |
mirror://PYPIWHL/f2/3e/45583b67c2ff08ad5a582d316fcb2f11d6cf0a50c7707ac09d212d25bc98 |
Distribution File Information
1efe1361b83b0ff7877b81ba57c8562c99cf812158b778988ce17ec061095695 93772 python-src/wcwidth-0.5.0-py3-none-any.whl
Ports that require python-wcwidth:v14