{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/21"},{"label":"Internet","url":"https://skillfed.io/packages/category/internet/5"}],"enrichment":{"capability":"Stores and queries CIDR IP address blocks (IPv4 and IPv6) in a trie data structure for fast prefix matching and lookup.","skillfed_tags":["ip-networking","data-structures"],"use_cases":["Build a geolocation or ISP lookup table by storing CIDR blocks with associated metadata and querying IP addresses against it.","Implement IP-based access control lists by storing allowed or blocked CIDR ranges and checking incoming requests.","Organize network routing tables or firewall rules that need fast prefix matching on IP addresses.","Validate whether an IP address falls within a known set of CIDR ranges such as private networks."],"what_it_does":"cidr-trie implements a Patricia trie (a space-efficient prefix tree) to store and query CIDR network blocks. You insert IP networks in CIDR notation along with arbitrary data, then query for all networks that contain a given IP address. It supports both IPv4 and IPv6 addresses and returns all matching prefixes from most specific to least specific.\n\nThe package has no external runtime dependencies and installs cleanly. However, it has been abandoned since mid-2019 with no active maintenance, so it receives no bug fixes, security updates, or compatibility improvements for newer Python versions. It remains stable for its intended use case if your Python environment is compatible.","worth_installing":"Yes, if you need CIDR prefix matching and your Python environment is compatible. The package is stable, has no dependencies, and works for its core use case. However, verify Python version compatibility first (requires_python is unspecified), and be aware that no maintenance or updates are forthcoming\u2014use it only if the existing codebase meets your needs without modification."},"id":"cidr-trie","links":{"html":"https://skillfed.io/packages/cidr-trie","md":"https://skillfed.io/packages/cidr-trie.md","pypi":"https://pypi.org/project/cidr-trie/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2019-07-05","license_spdx":null,"license_treatment":"permissive","name":"cidr-trie","python_support":"unspecified","summary":"Store/search CIDR prefixes in a trie structure."},"popularity":{"monthly_downloads":91203,"position":13532,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.1.2"}
