Skip to main content

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)

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.tar.gz (2.5 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: tornado-whois-0.8.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tornado-whois-0.8.tar.gz
Algorithm Hash digest
SHA256 79527d78d965550679c6d82a1f97d02881403eb6d86b02a074e1fa99692765d8
MD5 239148b2140a2a46d97970d7d79570f0
BLAKE2b-256 12d41f518b1642aaa6b256659c41c2cc62096a6d52d0869bac8b6bd546ddebf5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page