Skip to main content

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.

Release files for pytricia 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytricia 1.3.0
File Size Uploaded
pytricia-1.3.0.tar.gz 34.1 kB Details

Release files / pytricia-1.3.0.tar.gz

Download URL pytricia-1.3.0.tar.gz
Size 34.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1c3a3d6909e10d4c9c2f0fe4542a2481e109d29aab99cc027ca7fe93f8c8853f
BLAKE2b-256 checksum
How to use checksums
42c6e077cffbf4a2f364657b757fccd8f4694bffc6350fc30a563246bc5fbd9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

1.3.0 This release

1 release file

1.2.0

1 release file

1.0.2

2 release files

1.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page