Skip to content
I

Idna

Internationalized Domain Names for Python (IDNA 2008 and UTS #46)

by kjdFree

#4789in Utilities
0In stores

Description

idna is a Python library for Internationalized Domain Names in Applications. It converts domain names between Unicode text and the ASCII-com…

Highlights

  • IDNA 2008 conversion for Python
  • UTS #46 compatibility mapping
  • Encode and decode whole domain names
  • Per-label ulabel and alabel functions
  • Command-line tool included

Ratings & Reviews

No ratings yet

Be the first to rate Idna.

People also visit

D

DNS Over Wikipedia

Redirect `.idk` domains using Wikipedia

Developer Tools
Launch
D

dnspython

a powerful DNS toolkit for python

Utilities
Launch
D

Dnspick

Pick the DNS that fits you

Utilities
Launch
R

Registry

Open-source domain registry platform for modern ccTLD, gTLD, brand

Utilities
Launch
T

Tld.js

JavaScript API to work easily with complex domain names, subdomains and…

Developer Tools
Launch
L

Lexicon

Manipulate DNS records on various DNS providers in a standardized way

Utilities
Launch

Idna FAQ

What is idna used for?

Converting internationalised domain names between Unicode text and the ASCII form that DNS uses.

How do I install it?

Install it from PyPI with pip, for example python3 -m pip install idna.

How is it different from the standard library?

The standard library's encodings.idna only implements the 2003 specification. This package implements IDNA 2008 and covers more scripts.

Does it handle capital letters?

Yes. With the UTS #46 mapping, input is normalised first, so an uppercase label is lower-cased before conversion.

What are the best Idna alternatives?

Popular alternatives to Idna include dnspython, Dnspick and Registry. See all Idna alternatives

Developer Stuff

Badges