OpenBSD ports

The devel/py-cwcwidth port

py3-cwcwidth-0.1.10p0 – Python bindings for C wc(s)width

Description

To compute the number of columns needed to print a string, POSIX.1-2001
and POSIX.1-2008 define two functions: wcwidth and wcswidth. Given a
character or string, they return the required number of columns or error
out with -1 if they encounter a nonprintable character.

This module presents a Python interface to these functions.

It is similar to "wcwidth", but using the C functions directly instead
of Python emulations.

WWW: https://cwcwidth.readthedocs.io/
Only for arches
aarch64 aarch64 alpha amd64 amd64 arm arm hppa i386 i386 mips64 mips64 mips64el mips64el powerpc powerpc powerpc64 powerpc64 riscv64 riscv64 sparc64
Categories:
devel lang/python

Library dependencies

Build dependencies

Run dependencies