Install

To install IPPrefixTrie via pypi package:

$ pip install ipprefixtrie

To install IPPrefixTrie from source:

$ git clone https://github.com/interstellio/ipprefixtrie.git
$ pip install --editable ipprefixtrie

The –editable flag for pip ensures you can modify the code if neccessary and test it without needing to reinstall again.

We using pytest for unit tests and you can simply run pytest within the root of the cloned repository.