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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pytricia-1.0.2.tar.gz
.
File metadata
- Download URL: pytricia-1.0.2.tar.gz
- Upload date:
- Size: 20.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f6c0afdce55a1b7651a1a56d8b621c228a211dd23f3f8c5c1fdec3af2c19b15 |
|
MD5 | 19bdfe9ddfe6280825bc01e411e676a3 |
|
BLAKE2b-256 | 4e996d6c7cea1a4d52b8882d6a6103f4079373ae3a71d945e4e56742a5324844 |
File details
Details for the file pytricia-1.0.2-cp37-cp37m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: pytricia-1.0.2-cp37-cp37m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 29.5 kB
- Tags: CPython 3.7m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee49486fd0726eca7d2219029bef162652ca80dfb07f7eedadc6cfc5f3559231 |
|
MD5 | 55e250691c07d0121cebffeb856993c6 |
|
BLAKE2b-256 | 6f6548a2268fa235287bc548f354d50405a3c9ad6bde408de81d65b83e013162 |