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/72/c6/1452e716c5af065c018f75d42ca97517a04ac6aae4133722e0424649a07c |
Distribution File Information
817abc6a89e47242a349b5d100cbd244301690d6d8d2ec6335f26fe6640a6315 86280 python-src/wcwidth-0.3.2-py3-none-any.whl
Ports that require python-wcwidth:v13