Skip to main content

image

domains2idna

The tool to convert domains to the famous IDNA format.

This project provides a tool for list or hosts file maintainer that can converts domain to the Punycode/IDNA format.

Documentation as the place to be!

Want to know more about domain2idna? We invite you to read the documentation at https://domain2idna.readthedocs.io!

Want a local copy!? We get you covered!

Simply run the following and enjoy the documentation!

$ # We move to the docs directory
$ cd docs/
$ # We build the documentation
$ make html
$ # We run the documentation with our favorite browser.
$ chromium _builld/html/index.html

What can domain2idna do ?

  • Read a given domain and convert it to the Punycode/IDNA format.
  • Read a given URL and convert its base to Punycode/IDNA format.
  • Read a file and convert all non-commented line to the Punycode/IDNA format.
  • Print the converted data on the screen.
  • Save into a file the converted data.
  • Return the converted data (when used as a module).
  • Ignore commented inputs (starts with #)

License

MIT License

Copyright (c) 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026 Nissar Chababy
Copyright (c) 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026 PyFunceble Contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Metadata

Release files for domain2idna 1.12.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for domain2idna 1.12.5
File Size Uploaded
domain2idna-1.12.5.tar.gz 16.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for domain2idna 1.12.5
File Interpreter ABI Platform
domain2idna-1.12.5-py3-none-any.whl Python 3 none any Details

Total release size: 28.6 kB

Release files / domain2idna-1.12.5.tar.gz

Download URL domain2idna-1.12.5.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
92a4477daabe808e0abed4a7d728de782ac695925ba47ce49905246fd21c1f04
BLAKE2b-256 checksum
How to use checksums
f27608ea57477e991d42f0799562af616296b66b2367161578402a343b36feb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 16, 2026.

Transparency log

Release files / domain2idna-1.12.5-py3-none-any.whl

Download URL domain2idna-1.12.5-py3-none-any.whl
Size 12.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4b8f4b378cf78a20c01ecec2e923fcf0dc404e3d159ff426909c947ea0e300b8
BLAKE2b-256 checksum
How to use checksums
51d94ed1fc37ae3c1baacc1099e5b23e2ae14880c6e0f6bcce7423fb349bbbc0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 16, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.12.5 This release

2 release files

1.12.4

2 release files

1.12.3

2 release files

1.12.2

2 release files

1.11.0

2 release files

1.10.2

2 release files

1.10.1

2 release files

1.10.0

2 release files

1.9.1

2 release files

1.8.0

2 release files

1.7.0

2 release files

1.6.1

2 release files

1.5.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page