Installation

perfectns is compatible with python >=3.5; for a list of its dependencies see the setup.py file. Installation can be carried out with pip:

pip install perfectns

Alternatively, you can download the latest version and install it by cloning the github repository:

git clone https://github.com/ejhigson/perfectns.git
cd perfectns
python setup.py install

Note that the github repository may include new changes which have not yet been released on PyPI (and therefore will not be included if installing with pip). Both of these methods also automatically install any of perfectns’s dependencies which are not already satisfied by your system.

Tests

You can run the test suite with nose. From the root perfectns directory, run:

nosetests

To also get code coverage information (this requires the coverage package), use:

nosetests --with-coverage --cover-erase --cover-package=perfectns

If all the tests pass, the install should be working.