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-0.9.5.tar.gz (17.2 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for pytricia-0.9.5.tar.gz
Algorithm Hash digest
SHA256 505356d4c423bcc01c33df0e1544e8185522a398a216157e0a83a60a1f2121fe
MD5 c0d97d504e5fcf8e7a69e7af4f91e192
BLAKE2b-256 fd2d7ac5623f445cd0aecd0b574bf033ed182d51e9da028afdfee79c64d26bdd

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