{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/10"}],"enrichment":{"capability":"Caches IP address object construction and property lookups to avoid repeated overhead when the same IP addresses are encountered multiple times.","skillfed_tags":["caching","networking","performance-optimization"],"use_cases":["Network monitoring systems that repeatedly check properties of the same source or destination IPs.","IoT or Bluetooth device discovery where you encounter the same device addresses across multiple scan cycles.","Log parsing or traffic analysis where IP addresses repeat frequently and you need fast property checks.","Caching layers in network security tools that classify or filter IPs by type (loopback, private, multicast, etc.).","High-frequency network telemetry collection where the same peer addresses appear in many packets."],"what_it_does":"cached-ipaddress wraps Python's standard ipaddress module to maintain an in-memory cache of IP address objects and their computed properties. When you call cached_ip_addresses() with a string, it returns a cached IPAddress object if one already exists for that address, or constructs and caches a new one. This avoids the overhead of repeatedly parsing and constructing the same IP addresses\u2014useful in network monitoring, device discovery, or any scenario where you process many IP addresses with high repetition.\n\nThe package depends on propcache for efficient property caching on the underlying objects. It returns None for invalid IP address strings rather than raising an exception, making it safe to use in defensive code paths. The module is lightweight and designed as a drop-in optimization for applications that already use the ipaddress module.","worth_installing":"Yes, if your application repeatedly processes the same IP addresses and profiles show ipaddress object construction as a bottleneck. The permissive MIT license and active maintenance make it low-risk. Install friction is moderate due to the compiled propcache dependency, but the wheel is available for modern Python versions. Skip it if you process mostly unique IPs or don't measure ipaddress overhead as significant."},"id":"cached-ipaddress","links":{"html":"https://skillfed.io/packages/cached-ipaddress","md":"https://skillfed.io/packages/cached-ipaddress.md","pypi":"https://pypi.org/project/cached-ipaddress/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-27","license_spdx":"MIT","license_treatment":"permissive","name":"cached-ipaddress","python_support":"supports_current","summary":"Cache construction of ipaddress objects"},"popularity":{"monthly_downloads":94608,"position":13320,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.1.2"}
