The tool to convert a domain or a file with a list of domain to the famous IDNA format.
Project description
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) 2019, 2020 PyFunceble Copyright (c) 2018, 2019, 2020 Nissar Chababy 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
File details
Details for the file domain2idna-1.10.1.tar.gz
.
File metadata
- Download URL: domain2idna-1.10.1.tar.gz
- Upload date:
- Size: 15.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 359844bea651126a04c01d049dfeb94f93f3243ffa773fe3c06345e035ecbf68 |
|
MD5 | f5622ca4821ccb761b90645c79ca7a04 |
|
BLAKE2b-256 | 6a9218c4bc3a9f2654aee44d2bfc9ea534244ef856133fa9e5415209f89809d4 |
Provenance
File details
Details for the file domain2idna-1.10.1-py3-none-any.whl
.
File metadata
- Download URL: domain2idna-1.10.1-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa8d499214fe1817a8ea0d20c355681cb17489a915bce35715f18b1c8714fa23 |
|
MD5 | 6ab1183251a003b29867d66f03d123e9 |
|
BLAKE2b-256 | d46679eaa2adcb8a1212cc33408af2e7267a8d5d8f0039f1469e06e00ece4b0c |