Installation & Testing

Installation

From PyPI

$ pip install asyncdnspy

From source

Download the latest asyncdnspy library from: https://github.com/abdullahselek/async-dnspy

Extract the source distribution and run:

$ python setup.py build
$ python setup.py 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 https://github.com/abdullahselek/async-dnspy.git
$ cd async-dnspy