Installation & Testing


From PyPI

$ pip install asyncdnspy

From source

Download the latest asyncdnspy library from:

Extract the source distribution and run:

$ python build
$ python install

Running Tests

The test suite can be run against a single Python version which requires pip install pytest and optionally pip install pytest-cov (these are included if you have installed dependencies from requirements.testing.txt)

To run the unit tests with a single Python version:

$ py.test tests -s -v

to also run code coverage:

$ py.test tests -s -v --cov-report html --cov=asyncdnspy

Getting the code

The code is hosted at Github.

Check out the latest development version anonymously with:

$ git clone
$ cd async-dnspy