Skip to main content

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


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)

Uploaded Source

Built Distribution

IP_Subnet_Trie-1.0-py3-none-any.whl (10.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page