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.

Source Distribution

pytricia-1.0.0.tar.gz (18.9 kB view details)

Uploaded Source

File details

Details for the file pytricia-1.0.0.tar.gz.

File metadata

  • Download URL: pytricia-1.0.0.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pytricia-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c8730de05a459a25c6c40b654e19e20907fab292845e6d993ba10f2fbaad90da
MD5 c92d2f374aeea6b5e6cc87a719247636
BLAKE2b-256 299f46599afa93b176236cd0fdae591705ef6b4c28fcb8efbd98a69e61e00a5a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page