Skip to main content

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)

Uploaded Source

File details

Details for the file tornado-whois-0.8.1.tar.gz.

File metadata

File hashes

Hashes for tornado-whois-0.8.1.tar.gz
Algorithm Hash digest
SHA256 dc2a4b296686baea89c9e253fd4a08313be711e008a53459e7695364a564022c
MD5 f8014a60df1b7f05e1dc7e9822de486f
BLAKE2b-256 6e88cfe44f4c3032e7730f6a69f34d12bb9a248dbcc99b93f770b1b509e2b401

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page