pyunicode

package
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2026 License: MIT Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Category

func Category(r rune) string

Category is unicodedata.category, Cn for unassigned code points

func Lookup

func Lookup(name string) (rune, bool)

Code point a Unicode character name or alias names, matched case insensitively as Python does

func WcWidth

func WcWidth(r rune) int

Terminal cells of one rune as wcwidth.wcwidth reports them, -1 for a C0 or C1 control character

func WcsWidth

func WcsWidth(s string) int

Terminal cells of the string as wcwidth.wcswidth reports them, -1 when any rune is a control character

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL