一种将域或带有域列表的文件转换为著名的idna格式的工具。

domain2idna的Python项目详细描述


将域转换为著名的IDNA格式的工具。

https://travis-ci.com/funilrys/domain2idna.svg?branch=masterhttps://coveralls.io/repos/github/funilrys/domain2idna/badge.svg?branch=masterhttps://img.shields.io/github/license/funilrys/domain2idna.svghttps://img.shields.io/github/release/funilrys/domain2idna.svghttps://img.shields.io/badge/code%20style-black-000000.svg

本项目的目标是为列表或宿主文件维护程序提供一个工具,该工具可以将域转换为punycode/idna格式。


文件作为地方!

想了解更多关于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格式。
  • 在屏幕上打印转换后的数据。
  • 将转换后的数据保存到文件中。
  • 返回转换后的数据(用作模块时)。
  • 忽略注释输入(以开头)

支持项目

domain2idnaPyFuncebleDead-HostsFunceble和所有其他模拟项目都是或曾经是由:咖啡:!

这个项目帮助你,或者你喜欢它?

Help me with a cup of coffee

许可证

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.

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java我可以在签入Eclipse的TFS插件之前强制代码检查吗?   java Android ArrayIndexOutOfBoundsException错误   java MongoCursorNotFoundException查询失败,错误代码为5   尝试播放音频文件时出现java JLayer异常   java将字节数组中的Excel文件转换为字节数组中的PDF文件   java如何使用递归和一个参数在数组中找到最小值?   java组织。xml。萨克斯。SAXParseException;找不到元素“beans:beans”的声明   java自定义ArrayAdapter仅显示最后的信息   java异常启动筛选器struts2无法加载配置。文档根元素“package”,必须与DOCTYPE root“struts”匹配   mysql java。sql。SQLException:字段“Cust_LastName”没有默认值   java重写迭代变量的toString()   jvm找不到太阳。工具。爪哇。*在编译openjdk7时   mysql使用prepareStatement jdbc java创建任意表名   在处理目录和文件时处理IO异常的java最佳实践?   if语句if-else仅在java中执行else   java如何获取/触发复选框的Jquery在页面加载后自行执行   java在安装Hudson时出错?   java pmd:UseConcurrentHashMap不工作?