tornado-whois:Python Tornado异步Whois客户端

时间:2024-06-11 08:47:24
【文件属性】:

文件名称:tornado-whois:Python Tornado异步Whois客户端

文件大小:4KB

文件格式:ZIP

更新时间:2024-06-11 08:47:24

Python

龙卷风 龙卷风框架的异步Whois客户端 例子 from tornado import ioloop, gen from tornadowhois import AsyncWhoisClient @gen.coroutine def main(): data = yield AsyncWhoisClient().lookup("example.com") print data ioloop.IOLoop.current().run_sync(main) 非阻塞解析器的示例 from tornado import ioloop, gen from tornado.platform.caresresolver import CaresResolver from tornadowhois import AsyncWhoisClient resolver = CaresResolv


【文件预览】:
tornado-whois-master
----setup.py(557B)
----.gitignore(675B)
----LICENSE(1KB)
----README.rst(770B)
----test.py(816B)
----tornadowhois()
--------__init__.py(2KB)

网友评论