unicodedata.unidata_version

unicodedata.unidata_version The version of the Unicode database used in this module.

unicodedata.ucd_3_2_0

unicodedata.ucd_3_2_0 This is an object that has the same methods as the entire module, but uses the Unicode database version 3.2 instead, for applications that require this specific version of the Unicode database (such as IDNA).

unicodedata.numeric()

unicodedata.numeric(chr[, default]) Returns the numeric value assigned to the character chr as float. If no such value is defined, default is returned, or, if not given, ValueError is raised.

unicodedata.normalize()

unicodedata.normalize(form, unistr) Return the normal form form for the Unicode string unistr. Valid values for form are ‘NFC’, ‘NFKC’, ‘NFD’, and ‘NFKD’. The Unicode standard defines various normalization forms of a Unicode string, based on the definition of canonical equivalence and compatibility equivalence. In Unicode, several characters can be expressed in various way. For example, the character U+00C7 (LATIN CAPITAL LETTER C WITH CEDILLA) can also be expressed as the sequence U+0043 (L

unicodedata.name()

unicodedata.name(chr[, default]) Returns the name assigned to the character chr as a string. If no name is defined, default is returned, or, if not given, ValueError is raised.

unicodedata.mirrored()

unicodedata.mirrored(chr) Returns the mirrored property assigned to the character chr as integer. Returns 1 if the character has been identified as a “mirrored” character in bidirectional text, 0 otherwise.

unicodedata.lookup()

unicodedata.lookup(name) Look up character by name. If a character with the given name is found, return the corresponding character. If not found, KeyError is raised. Changed in version 3.3: Support for name aliases [1] and named sequences [2] has been added.

unicodedata.east_asian_width()

unicodedata.east_asian_width(chr) Returns the east asian width assigned to the character chr as string.

unicodedata.digit()

unicodedata.digit(chr[, default]) Returns the digit value assigned to the character chr as integer. If no such value is defined, default is returned, or, if not given, ValueError is raised.

unicodedata.decomposition()

unicodedata.decomposition(chr) Returns the character decomposition mapping assigned to the character chr as string. An empty string is returned in case no such mapping is defined.