简单whois解析器

whoisp的Python项目详细描述


#世界卫生组织

[![特拉维斯](https://api.travis-ci.org/amureki/whoisp.svg?branch=master)](https://travis-ci.org/amureki/whoisp) [![版本](https://img.shields.io/pypi/v/whoisp.svg)](https://pypi.python.org/pypi/whoisp/) [![github许可证](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/amureki/whoisp/master/LICENSE

bashwhois命令的python包装器。 支持Python3.5、3.6

###安装

pip install whoisp

###用法

from whoisp import whois

whois_data = whois(‘yandex.ru’).parsed whois_data.get(‘domain_name’) > [‘YANDEX.RU’] whois_data.get(‘expiration_date’) > [‘2017-09-30T21:00:00Z’]

###测试

pip install -r requirements_test.txt pytest

pip install tox tox

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

推荐PyPI第三方库


热门话题
JBossJava堆大小正在增加   java Android:在表中插入数据时引发错误   摇摆系统。出来Java中的Println到JTextArea   java如何在firebase存储上加密和保存文件?   IntelliJ Idea无法执行java程序   java为什么在一个外部参数化类中创建一个数组,而组件类型是一个内部类,这被认为是“泛型数组创建”?   java如何使用包中不可用的类   如何在java中更改操作系统时区?   javascript在Struts 2中使用Ajax时如何传递属性   eclipse是在Java中注释代码的最佳方式   java当要注入的属性是列表时,如何使用下面的PropertyPlaceHolderConfigure   swing何时无事可做,java中是否没有更新?那可能是个虫子?   带变量参数的java方法重载   java在hibernate和Mysql中使用一个非Id的自动增量,因此我可以用触发器重置它   java为什么导入JFrame需要继承,而FlowLayout、JLabel等不需要继承?   java GSON MD5总和不匹配如何计算MD5?