An efficient data structure for handling a large number of IP addresses/subnets in a hierarchy.
Project description
IP-Subnet-Trie
An efficient data structure for handling a large number of IP addresses/subnets in a hierarchy.
Run tests
pytest -s tests
Generate Python protobuf classes from proto file.
cd ip_subnet_trie
protoc --python_out=. binary_trie.proto
Example code
You can see example code in tests/ directory.
Contribution
This project has the significant contribution of GitHub Copilot. It is my first project using an AI-assistance tool. Moreover, this is also the first project where I have uploaded a library to Pypi. I hope it will be useful to many people.
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
IP-Subnet-Trie-1.0.tar.gz
(8.4 kB
view hashes)
Built Distribution
Close
Hashes for IP_Subnet_Trie-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf33d00806e2dac378aebc8bc2af01ca9b668ad0c410f54cb5bee828f2db1199 |
|
MD5 | 95df226f246b33ece14ed0f2ba74e341 |
|
BLAKE2b-256 | b3d7c7c6df3591a7e68578ed32daa3355937a8f6a0e96420e9cec1039f3c1afe |