BSD Ports

devel/py-cwcwidth 0.1.10 DragonFly

Python bindings for wc(s)width

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, python
Package size
19.6 KiB, 54.7 KiB installed

Description

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.

In the other systems

SystemPortVersion
DragonFlydevel/py-cwcwidth0.1.10
FreeBSDdevel/py-cwcwidth0.1.12
OpenBSDdevel/py-cwcwidth0.1.12
NetBSDdevel/py-cwcwidth0.1.12
HardenedBSDdevel/py-cwcwidth0.1.12
GhostBSDdevel/py-cwcwidth0.1.12

Install

Binary package:

pkg install py311-cwcwidth

From DPorts:

cd /usr/dports/devel/py-cwcwidth && make install clean

Dependencies

Run dependencies 1