python-wcwidth
Port variant v13
Summary Measures number of terminal column cells (3.13)
Package version 0.3.2
Homepage https://github.com/jquast/wcwidth
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants v14
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 24 JAN 2026, 14:52:53 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 ON Build using Python 3.13 PY314 OFF Build using Python 3.14
Package Dependencies by Type
Build (only) python313:dev:std
python-pip:single:v13
autoselect-python:single:std
Build and Runtime python313:primary:std
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
python-prompt-toolkit:v13 Builds powerful interactive command lines (3.13)
python-xml2rfc:v13 Request For Comment authoring with XML (3.13)