python-wcwidth
Port variant v14
Summary Measures number of terminal column cells (3.14)
Package version 0.5.0
Homepage https://github.com/jquast/wcwidth
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants v13
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 27 JAN 2026, 17:23:52 UTC
Port created 22 APR 2020, 01:22:25 UTC
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
Build (only) python314:dev:std
python-pip:single:v14
autoselect-python:single:std
Build and Runtime python314:primary:std
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
python-prompt-toolkit:v14 Builds powerful interactive command lines (3.14)
python-xml2rfc:v14 Request For Comment authoring with XML (3.14)