Python encodings.idna Functions
EditRocket provides the following information on encodings.idna functions in the Python source code builder.
ToASCII(label) - Convert a label to ASCII
ToUnicode(label) - Convert a label to Unicode
nameprep(label) - Return the nameprepped version of label.