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)
Release files for tornado-whois 0.8.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tornado-whois-0.8.1.tar.gz | 2.6 kB | Details |
Release files / tornado-whois-0.8.1.tar.gz
| Download URL | tornado-whois-0.8.1.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dc2a4b296686baea89c9e253fd4a08313be711e008a53459e7695364a564022c
|
|
BLAKE2b-256 checksum How to use checksums |
6e88cfe44f4c3032e7730f6a69f34d12bb9a248dbcc99b93f770b1b509e2b401
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |