Skip to content

Installation & Testing


From PyPI

$ pip install authenticatorpy

From source

Install dependencies using pip

$ pip install -r requirements.txt

Download the latest authenticatorpy 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 -v

to also run code coverage

$ py.test -v --cov-report html --cov=authenticatorpy

To run the unit tests against a set of Python versions::

$ tox

Getting the code

The code is hosted at Github.

Check out the latest development version anonymously with

$ git clone
$ cd authenticatorpy