Skip to main content

An efficient IP address storage and lookup module for Python.

Project description

Pytricia is a 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 nicely in Python 3, and
  • there are a few nicer library features for manipulating the structure.

See the github repo for documentation and some performance numbers: <https://github.com/jsommers/pytricia>.

Pytricia is released under terms of the GNU Lesser General Public License, version 3.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pytricia, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size pytricia-1.0.2-cp37-cp37m-macosx_10_9_x86_64.whl (29.5 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size pytricia-1.0.2.tar.gz (20.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page