Install & Compatibility
Where this runs
tested against v16.0.0.post1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 19.3MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 1.8s · import 0.000s · 20MB
17MB installed
● package 17MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
unicodedataplus
✓ import unicodedataplus
Standard import, no common mistake.
lookup
✓ unicodedataplus.lookup(name)
name
✓ unicodedataplus.name(chr, default=None)
decimal
✓ unicodedataplus.decimal(chr, default=None)
category
✓ unicodedataplus.category(chr)
bidirectional
✓ unicodedataplus.bidirectional(chr)
combining
✓ unicodedataplus.combining(chr)
east_asian_width
✓ unicodedataplus.east_asian_width(chr)
mirrored
✓ unicodedataplus.mirrored(chr)
decomposition
✓ unicodedataplus.decomposition(chr)
normalize
✓ unicodedataplus.normalize(form, unistr)
ucd_3_2_0
✓ unicodedataplus.ucd_3_2_0
unidata_version
✓ unicodedataplus.unidata_version
Basic usage: import and use as a drop-in for unicodedata, plus extended property access.
import unicodedataplus as ud
# Check the Unicode version
print(ud.unidata_version)
# Get the name of a character
print(ud.name('A')) # Output: LATIN CAPITAL LETTER A
# Get script extension for a character
# Note: script extensions are a list of scripts (property is 'Script_Extensions')
print(ud.script_extensions('A')) # Output: ['Latin']
# Look up a character by alias name
print(ud.lookup('LATIN CAPITAL LETTER A')) # Output: A
# Check a property (e.g., Indic syllabic category for Devanagari vowel sign)
import sys
print(ud.indic_syllabic_category('\u0901'))
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'unicodedataplus'
Package not installed.
fixRun `pip install unicodedataplus` in your environment.
AttributeError: module 'unicodedataplus' has no attribute 'script_extensions'
Using an older version of unicodedataplus that doesn't have that attribute.
fixUpgrade to version 12.1.0 or later: `pip install --upgrade unicodedataplus`.
ValueError: character must be a string of length 1
Passed a string with more than one character (e.g., `unicodedataplus.name('AB')`).
fixPass a single-character string: `unicodedataplus.name('A')`. Upgrade
Version history
16.0.0.post1latest on PyPI · released Mar 1, 2025
Audit
Dependencies
No dependency data recorded yet.