How to install pytricia
- Download and install ActivePython
- Open Command Prompt
- Type
pypm install pytricia
Lastest release
Pytricia is a new python module to store IP prefixes in a patricia tree. It's based on Dave Plonka's modified patricia tree code, and has three things to recommend it over related modules (including py-radix and SubnetTree):
- it's faster,
- it works in Python 3, and
- there are a few nicer library features for manipulating the structure.
Some performance numbers to back up claim 1 will be included in the distro in the future. In the meanwhile, see for yourself.
Pytricia is released under terms of the GPLv2.