./devel/py-wcwidth, Measures number of Terminal column cells of wide-character codes

[ Image CVSweb ] [ Image Homepage ] [ Image RSS ] [ Image Required by ] [ Image Add to tracker ]


Branch: CURRENT, Version: 0.6.0, Package name: py313-wcwidth-0.6.0, Maintainer: kamelderouiche

This Library is mainly for those implementing a Terminal Emulator, or programs
that carefully produce output to be interpreted by one


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 155.941 KB

Version history: (Expand)


CVS history: (Expand)


   2026-02-08 23:20:58 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-wcwidth: update to 0.6.0.

Complete textwrap.wrap() with 6 missing params! by @jquast in #207
   2026-02-01 19:26:01 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-wcwidth: update to 0.5.3.

0.5.3

    Add Virama conjunct for the Brahmic scripts by @jquast in #204

0.5.2

    Do not distribute any data files by @jquast in #199
    Update specs and zero-width tables regarding Mc by @jquast in #200
    Standalone emoji support by @jquast in #202

0.5.1

    Updated generated zero and wide code tables to length of 1 to complete the \ 
previously announced removal of historical wide and zero tables. #196

0.5.0

    Drop Support of many historical versions of wide and zero unicode tables. \ 
Only the latest Unicode version (17.0.0) is now shipped. The related \ 
unicode_version='auto' keyword of the wcwidth()-family of functions are ignored. \ 
list_versions() always returns a tuple of only a single element of the only \ 
unicode version supported. #195
    Performance improvement of most common call without version or \ 
ambiguous_width specified by 20%. #195
    New Function propagate_sgr() for applying SGR state propagation to a list of \ 
lines. #194
    Improved wrap() and clip() with propagate_sgr=True. #194
    Bugfix clip() zero-width characters at clipping boundaries. #194
    Bugfix OSC Hyperlinks when broken mid-text by wrap(). #193

0.4.0

    Bugfix: OSC Hyperlinks should not be broken by wrap() by @jquast in #191
    New functions: iter_graphemes_reverse(), grapheme_boundary_before() by \ 
@jquast in #192
   2026-01-26 00:34:38 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-wcwidth: update to 0.3.5.

0.3.5

    Re-stamp package version correctly, 0.3.4 packaged a failing test

0.3.4

    bugfix our center() padding algorithm by @jquast in #188
    docfix: accidental double-escapes \t -> \t by @jquast in #187

0.3.3

    Add fast path for ASCII printables to width() by @hugovk in #185
    Add py.typed file and Typing :: Typed classifier by @hugovk in #184

0.3.2

    type hinting for full mympy --strict compliance, by @penguinolog #183

0.3.1

    Add benchmarking using codspeed.io by @jquast in #180
    improve width() performance by @jquast in #181

0.3.0

Major changes since 0.2.14, in order

    Migrate from setup.py + setuptools to pyproject.toml + hatchling by @hugovk \ 
in #156
    Small improvements to update-tables.py and wcwidth-browser.py by @jquast in #160
    New: iter_graphemes() by @jquast in #165
    New: width() terminal-aware string measurement by @jquast in #166
    New: ljust(), rjust(), center() justify text by @jquast in #168
    New: wrap() by @jquast in #169
    improve wcswidth() performance ~30% by @jquast in #171
    New ambigous_width=1 argument by @jquast in #172
    New strip_sequences() and cut() functions by @jquast in #173
    Width 0 for Default_Ignorable_Code_Point characters by @jquast in #174
    Bugfix for Prepended_Concatenation_Mark characters by @jquast in #176
   2025-09-23 13:13:47 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-wcwidth: updated to 0.2.14

0.2.14

Drop Support for Python 2.7 and 3.5.
Update tables to include Unicode Specifications 16.0.0 and 17.0.0.
Bugfix U+00AD SOFT HYPHEN should measure as 1, versions 0.2.9 through
0.2.13 measured as 0.
   2025-04-12 23:37:08 by Adam Ciarcinski | Files touched by this commit (35) | Package updated
Log message:
Fix PLIST after py-setuptools update; bump depends and revision
   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-05-10 11:59:56 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
py-wcwidth: switch to wheel.mk
   2024-01-06 10:42:55 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-wcwidth: updated to 0.2.13

0.2.13
Bugfix zero-width support for Hangul Jamo (Korean)