wcwidth
wcwidth copied to clipboard
Python library that measures the width of unicode strings rendered to a terminal
pkg_resources is a little heavyweight, and has some rather glaring shortcomings for checking the metadata of an install Python package. importlib.metadata is contained in the standard library (as of 3.8),...
- update `tox.ini`, `requirements*` files - use `pip-compile` with "requirements.in" files to generate "requirements.txt" files - use older testing tools for older python versions (requirements-tests38.in and requirements-tests39.in) - use python3.10...
I tried using wcwidth to calculate the length of the name for the city of Mumbai in Hindi (बॉम्बे हिंदी) ```Python from wcwidth import wcswidth wcswidth('बॉम्बे हिंदी') 9 ``` On...
Looks like on redndering documentation sphinx shows some sissues. Despite that documentation seems is generated. ```console + /usr/bin/python3 setup.py build_sphinx -b man --build-dir build/sphinx running build_sphinx Running Sphinx v4.3.2 making...
Hi, thanks for your work on this project. It's been invaluable! According to [this document](http://www.unicode.org/reports/tr11/tr11-38.html#Recommendations) emoji presentation sequences should be treated as "East Asian Wide". > [UTS51] emoji presentation sequences ...
Generated by `python3.11 bin/update-tables.py`. Using python 3.11 because only on python 3.11, `unidecodedata.unidata_version` is `"14.0.0"`. ``` shell $ python3.11 -V Python 3.11.0a5 ``` Based on [commit `53b0dd1`](https://github.com/GalaxySnail/wcwidth/blob/53b0dd1d6d2fda47dda21fcdcea9156fb9b0e209/bin/update-tables.py).
Hi, please update MANIFEST.in to make the source tarball include all configs and tools required to build the sources. Thanks, Nik ([email protected])
Hi, Can wcwidth help me with multi-codepoint emojis? For instance, here I want to get the cell width for a "woman_mechanic_dark_skin_tone" emoji, which renders in the terminal as 2 cells,...