Language Features

PyUnicodedata

Python stdlib module — unicodedata. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.bidirectional()Neutral
#
Signature
bidirectional(chr)

Returns the bidirectional class assigned to the character chr as string.

.category()Neutral
#
Signature
category(chr)

Returns the general category assigned to the character chr as string.

.combining()Neutral
#
Signature
combining(chr)

Returns the canonical combining class assigned to the character chr as integer.

.decimal()Neutral
#
Signature
decimal()

Converts a Unicode character into its equivalent decimal value.

.decomposition()Neutral
#
Signature
decomposition(chr)

Returns the character decomposition mapping assigned to the character chr as string.

.digit()Neutral
#
Signature
digit()

Converts a Unicode character into its equivalent digit value.

.east_asian_width()Neutral
#
Signature
east_asian_width(chr)

Returns the east asian width assigned to the character chr as string.

.is_normalized()Neutral
#
Signature
is_normalized(form, unistr)

Return whether the Unicode string unistr is in the normal form 'form'.

.lookup()Neutral
#
Signature
lookup(name)

Look up character by name.

.mirrored()Neutral
#
Signature
mirrored(chr)

Returns the mirrored property assigned to the character chr as integer.

Fully-Qualified Names

FQNField
unicodedatafqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

rule.py
import unicodedata