cwcwidth
Python bindings for wc(s)width
Python bindings for wc(s)width
To install this package, run one of the following:
Python bindings for wc(s)width cwcwidth provides Python bindings for wcwidth and wcswidth functions defined in POSIX.1-2001 and POSIX.1-2008 based on Cython. These functions compute the printable length of a unicode character/string on a terminal. The module provides the same functions as wcwidth and its behavior is compatible. On systems not conforming to POSIX.1-2001 and POSIX.1-2008, Markus Kuhn's implementation is used to provide the functionality.
Summary
Python bindings for wc(s)width
Information Last Updated
Oct 15, 2025 at 16:42
License
MIT
Total Downloads
327
Platforms
GitHub Repository
https://github.com/sebastinas/cwcwidthDocumentation
https://github.com/sebastinas/cwcwidth/tree/main/docs