Asynchronous python tornado whois client
Project description
Asynchronous Whois client for tornado framework
Installation
pip install tornado-whois
Example
from tornado import ioloop
from tornadowhois import AsyncWhoisClient
from tornado.platform.caresresolver import CaresResolver
async def main():
whois = AsyncWhoisClient(CaresResolver())
is_available = await whois.check_domain("tornadoweb.org")
if is_available:
print("tornadoweb.org is available")
read_result = await whois.whois_query("tornadoweb.org")
print(read_result)
ioloop.IOLoop.current().spawn_callback(main)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tornado-whois-0.8.1.tar.gz
(2.6 kB
view details)
File details
Details for the file tornado-whois-0.8.1.tar.gz.
File metadata
- Download URL: tornado-whois-0.8.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc2a4b296686baea89c9e253fd4a08313be711e008a53459e7695364a564022c
|
|
| MD5 |
f8014a60df1b7f05e1dc7e9822de486f
|
|
| BLAKE2b-256 |
6e88cfe44f4c3032e7730f6a69f34d12bb9a248dbcc99b93f770b1b509e2b401
|