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

Uploaded Source

Built Distribution

tdns-0.1.0-py2.py3-none-any.whl (8.1 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for tdns-0.1.0.tar.gz
Algorithm Hash digest
SHA256 84686abfedaa48db5c75a3d0494473d901206dca316a8ba4173529f2ea30fa24
MD5 03b546b5d0afe3d9a0ec7ba1c0a0e997
BLAKE2b-256 6dfa04913e1c29b01f2f3b3457085b10a6c13b1af95e23b78832aa38bd766d20

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tdns-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a1f9b02ce9ce5db702b72d4d7ba2cad74f0911d18d2ed7b4f23427652409800d
MD5 764a66a0a03456bda54b7660f8aff90a
BLAKE2b-256 0e21ae78efc37c6c6f2281ded31d55bbb54a1acc9a23c8a30147bad60150f168

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