PyDocs

Text Processing Services

stringprep

Library that exposes various tables found in the StringPrep RFC 3454.

There are two kinds of tables: sets, for which a member test is provided,
and mappings, for which a mapping function is provided.
Symbols in stringprep

i

in_table_a1
Determine whether code is in tableA.1 (Unassigned code points in Unicode 3.2).
in_table_b1
Determine whether code is in tableB.1 (Commonly mapped to nothing).
in_table_c11
Determine whether code is in tableC.1.1 (ASCII space characters).
in_table_c11_c12
Determine whether code is in tableC.1 (Space characters, union of C.1.1 and C.1.2).
in_table_c12
Determine whether code is in tableC.1.2 (Non-ASCII space characters).
in_table_c21
Determine whether code is in tableC.2.1 (ASCII control characters).
in_table_c21_c22
Determine whether code is in tableC.2 (Control characters, union of C.2.1 and C.2.2).
in_table_c22
Determine whether code is in tableC.2.2 (Non-ASCII control characters).
in_table_c3
Determine whether code is in tableC.3 (Private use).
in_table_c4
Determine whether code is in tableC.4 (Non-character code points).
in_table_c5
Determine whether code is in tableC.5 (Surrogate codes).
in_table_c6
Determine whether code is in tableC.6 (Inappropriate for plain text).
in_table_c7
Determine whether code is in tableC.7 (Inappropriate for canonical representation).
in_table_c8
Determine whether code is in tableC.8 (Change display properties or are deprecated).
in_table_c9
Determine whether code is in tableC.9 (Tagging characters).
in_table_d1
Determine whether code is in tableD.1 (Characters with bidirectional property “R” or “AL”).
in_table_d2
Determine whether code is in tableD.2 (Characters with bidirectional property “L”).

m

map_table_b2
Return the mapped value for code according to tableB.2 (Mapping for case-folding used with NFKC).
map_table_b3
Return the mapped value for code according to tableB.3 (Mapping for case-folding used with no normalization).