一种将域或带有域列表的文件转换为著名的idna格式的工具。
domain2idna的Python项目详细描述
文件作为地方!
想了解更多关于domain2idna的信息吗? 我们邀请您阅读https://domain2idna.readthedocs.io上的文档!
想要本地副本!?我们掩护你!
只需运行以下命令并享受文档!
$ # 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
域2idna能做什么?
- 读取给定的域并将其转换为punycode/idna格式。
- 读取文件并将所有未注释的行转换为punycode/idna格式。
- 在屏幕上打印转换后的数据。
- 将转换后的数据保存到文件中。
- 返回转换后的数据(用作模块时)。
- 忽略注释输入(以开头)
许可证
MIT License Copyright (c) 2018-2019 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.