PyDocs

Binary Data Services

encodings.idna

This module implements RFC 3490 (Internationalized Domain Names in Applications) and RFC 3492 (Nameprep: A Stringprep Profile for Internationalized Domain Names (IDN)). It builds upon the punycode encoding and stringprep.
Symbols in encodings.idna

n

nameprep
Return the nameprepped version of label.

t

ToASCII
Convert a label to ASCII, as specified in RFC 3490.
ToUnicode
Convert a label to Unicode, as specified in RFC 3490.