$npx skillfedfor your agent

cidr-trie

Store/search CIDR prefixes in a trie structure.

With conditionsPyPI Python ModulesReleased Jul 201991.2K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — cidr_trie-3.1.2-py3-none-any.whl
v3.1.2 · released 2019-07-05

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—use it only if the existing codebase meets your needs without modification.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction installation with no runtime dependencies.
  • However, the package is abandoned—last release was 2019-07-05 and last commit 2022-12-08, so no active maintenance or bug fixes should be expected.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions.

last release 2019-07-05 (2597 days) · last repo commit 2022-12-08 · 10 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 91,203 downloads/mo, #13,532 on PyPI

Verify before relying

pip install cidr-trie

from cidr_trie import PatriciaTrie

trie = PatriciaTrie()
trie.insert("0.0.0.0/0", "Internet")
trie.insert("32.32.32.32/32", "example")
result = trie.find_all("32.32.32.32")
print([node.value for node in result])
  • Whether the package works correctly with modern Python versions (requires_python is unspecified in the fact sheet)
  • Performance characteristics for large CIDR datasets or production-scale deployments
  • Any known issues or edge cases in the abandoned codebase that may affect reliability
Same gist for agents: .md · .json

What it is and 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.

The 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.

Use it for

  • 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.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

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—use it only if the existing codebase meets your needs without modification.

Install

cidr-trie on PyPI

Before you install

Low friction installation with no runtime dependencies. However, the package is abandoned—last release was 2019-07-05 and last commit 2022-12-08, so no active maintenance or bug fixes should be expected.

License in practice

MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions.

Quickstart

pip install cidr-trie

from cidr_trie import PatriciaTrie

trie = PatriciaTrie()
trie.insert("0.0.0.0/0", "Internet")
trie.insert("32.32.32.32/32", "example")
result = trie.find_all("32.32.32.32")
print([node.value for node in result])

Verify before relying

  • Whether the package works correctly with modern Python versions (requires_python is unspecified in the fact sheet)
  • Performance characteristics for large CIDR datasets or production-scale deployments
  • Any known issues or edge cases in the abandoned codebase that may affect reliability

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAbandoned 2,597 days since the last release
Last repo commit
First released
Downloads91,203 / month, #13,532 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3 :: OnlyTopic :: InternetTopic :: Software Development :: Libraries :: Python Modules

Evidence: cidr_trie-3.1.2-py3-none-any.whl

Tags

Capabilities
CIDR IP address lookupIPv4 IPv6 trie storageIP prefix matchingnetwork address trieCIDR range queryIP network searchpatricia trie IP
Topics
ip-networkingdata-structures
PyPI keywords
cidripipv4ipv6trie

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “CIDR IP address lookup”

  • cidr-trieStores and queries CIDR IP address blocks (IPv4 and IPv6) in a trie…
  • IPyIPy provides Python classes for parsing, manipulating, and working…
  • django-netfieldsProvides Django model fields for PostgreSQL network types (INET,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also py-radix · iptools · netaddr · ipaddr · IPy · PyTrie · pygtrie · trie · isc-dhcp-leases · ipwhois