pydoc > unicodedata

πŸ“› NAME

unicodedata

πŸš€ Quick Reference

Use CaseCommandDescription
πŸ“› Get character nameunicodedata.name('A')Returns the official Unicode name (e.g., "LATIN CAPITAL LETTER A")
🏷️ Get categoryunicodedata.category('A')Returns the general category (e.g., "Lu" for uppercase letter)
πŸ”’ Get numeric valueunicodedata.numeric('β…§')Returns the numeric value of a numeral (e.g., 8.0 for Roman eight)
πŸ”£ Normalize stringunicodedata.normalize('NFC', s)Returns the NFC normal form of the string
βœ… Check normalizationunicodedata.is_normalized('NFC', s)Returns True if the string is in NFC
πŸ”— Get combining classunicodedata.combining('\u0308')Returns the canonical combining class (e.g., 230 for diaeresis)
↔️ Bidirectional classunicodedata.bidirectional('A')Returns "L" (Left‑to‑Right) for normal Latin letters
πŸ”’ Decimal digitunicodedata.decimal('Ω£')Returns decimal value 3 for Arabic‑Indic digit three
1️⃣ Digit valueunicodedata.digit('Β³')Returns digit value 3 for superscript three
🌏 East Asian widthunicodedata.east_asian_width('あ')Returns "W" (wide) for CJK characters
πŸͺž Mirror propertyunicodedata.mirrored('(')Returns 1 (mirrored) for parentheses
πŸŒ€ Decomposeunicodedata.decomposition('Γ©')Returns "0065 0301" (base + combining accent)
πŸ” Lookup by nameunicodedata.lookup('EURO SIGN')Returns the character '€'

πŸ“– DESCRIPTION

This module provides access to the Unicode Character Database πŸ“Š which defines character properties for all Unicode characters. The data in this database is based on the UnicodeData.txt file πŸ“„ version 13.0.0 which is publicly available from ftp://ftp.unicode.org/.

The module uses the same names and symbols as defined by the UnicodeData File Format 13.0.0.

πŸ“¦ CLASSES

πŸ› οΈ class UCD(builtins.object)

πŸ”Ή Methods defined here:

πŸ”Ή Data descriptors defined here:

βš™οΈ FUNCTIONS

πŸ—„οΈ DATA

πŸ“„ FILE

(built-in)

unicodedata
πŸ“› NAME πŸš€ Quick Reference πŸ“– DESCRIPTION πŸ“¦ CLASSES
πŸ› οΈ class UCD(builtins.object)
βš™οΈ FUNCTIONS πŸ—„οΈ DATA πŸ“„ FILE

Generated by phpman v4.10.0-7-g98e9fd5 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-09-01 16:52 @216.73.216.239
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!

^_top_^