🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

IP-Subnet-Trie

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

IP-Subnet-Trie

An efficient data structure for handling a large number of IP addresses/subnets in a hierarchy.

1.0
PyPI
Maintainers
1

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.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts