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.

Metadata

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 Provenance Actions
pytricia-1.3.0.tar.gz 34.1 kB Without provenance Details for pytricia-1.3.0.tar.gz

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

Security for pytricia 1.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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