Skip to main content

An asynchronous Tornado wrapper for pycares

Project description

An asynchronous Tornado pycares DNS client wrapper, exporting the full API.

Version Downloads PythonVersions Status Coverage Code Climate

Documentation is available at tdns.readthedocs.io.

Example

from tornado import gen, ioloop
import tdns

loop = ioloop.IOLoop()
channel = tdns.Channel(io_loop=loop)

@gen.coroutine
def on_start():
    response = yield channel.query('google.com', tdns.QUERY_TYPE_MX)
    print(response)
    loop.stop()


loop.add_callback(on_start)
loop.start()

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

tdns-0.2.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

tdns-0.2.0-py2.py3-none-any.whl (8.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file tdns-0.2.0.tar.gz.

File metadata

  • Download URL: tdns-0.2.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tdns-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f810e5c19174b97eedee51713c383f3e39dff9d837530d1baec166a843b12ce7
MD5 bfd51a883d8b6fa620e3c1da4374976f
BLAKE2b-256 cc72ef7714778a536e42a16dc1b9f211be8f05f9031379cd7db154f3f41a24a5

See more details on using hashes here.

File details

Details for the file tdns-0.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for tdns-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 22ddddf0322c197a0458419406b6112f6c640ab1dcb88f72b602c9413b9e5a3c
MD5 487655d8a51a6df228f21dd3876cd123
BLAKE2b-256 fc52791556e988ee598a5ea311a4956ae48566c1ab7624138a4110d2b7aa1cae

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