py3-cwcwidth-0.1.12
Python bindings for C wc(s)width
Back to search · Project homepage
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.
Package information
- Ports path
- devel/py-cwcwidth
- Package architecture
- amd64
- Maintainer
- The OpenBSD ports mailing-list <ports@openbsd.org>
- Categories
- devel, lang/python
- Available flavors
- None listed
- Only for architectures
- aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, alpha, hppa, sparc64
These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.
Direct dependencies
Runtime
Build
- lang/cython
- lang/python/3
- devel/py-build
- devel/py-installer
- devel/py-setuptools py3-setuptools->=79v0
- devel/py-wheel
Test
Used by (4 dependency relationships)
Includes library, runtime, build and test relationships. Results load 100 at a time.