The tool to convert a domain or a file with a list of domain to the famous IDNA format.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file domain2idna-1.12.4.tar.gz.
File metadata
- Download URL: domain2idna-1.12.4.tar.gz
- Upload date:
- Size: 16.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
234a62961a1e3ca5d75f606329fc609c961d59b3e1b8b5bd0721acc9eba48770
|
|
| MD5 |
d35da2b388205d973be557342f9aabd5
|
|
| BLAKE2b-256 |
528915194c6295be5af11544f52c010227b4ce6183dd1a363fe33ec77fce9525
|
Provenance
The following attestation bundles were made for domain2idna-1.12.4.tar.gz:
Publisher:
main.yml on PyFunceble/domain2idna
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
domain2idna-1.12.4.tar.gz -
Subject digest:
234a62961a1e3ca5d75f606329fc609c961d59b3e1b8b5bd0721acc9eba48770 - Sigstore transparency entry: 850022952
- Sigstore integration time:
-
Permalink:
PyFunceble/domain2idna@359d1e066391bfbe895ddd2acdbb37baa2fe6600 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/PyFunceble
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@359d1e066391bfbe895ddd2acdbb37baa2fe6600 -
Trigger Event:
push
-
Statement type:
File details
Details for the file domain2idna-1.12.4-py3-none-any.whl.
File metadata
- Download URL: domain2idna-1.12.4-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
703601def493231eeebd4a707e7f8de10c2692cb1d7abe7a69a19858507a4796
|
|
| MD5 |
20b46237f0bce168a1248a87ca473d23
|
|
| BLAKE2b-256 |
ba31c0bd23c8d12d564f0362f61b0f0519cf4081db0cbb23dd31978b9c5f35dd
|
Provenance
The following attestation bundles were made for domain2idna-1.12.4-py3-none-any.whl:
Publisher:
main.yml on PyFunceble/domain2idna
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
domain2idna-1.12.4-py3-none-any.whl -
Subject digest:
703601def493231eeebd4a707e7f8de10c2692cb1d7abe7a69a19858507a4796 - Sigstore transparency entry: 850022954
- Sigstore integration time:
-
Permalink:
PyFunceble/domain2idna@359d1e066391bfbe895ddd2acdbb37baa2fe6600 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/PyFunceble
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@359d1e066391bfbe895ddd2acdbb37baa2fe6600 -
Trigger Event:
push
-
Statement type: