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/68/5a/199c59e0a824a3db2b89c5d2dade7ab5f9624dbf6448dc291b46d5ec94d3 |
Distribution File Information
1a3a1e510b553315f8e146c54764f4fb6264ffad731b3d78088cdb1478ffbdad 94189 python-src/wcwidth-0.6.0-py3-none-any.whl
Ports that require python-wcwidth:v13