{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/8"}],"enrichment":{"capability":"zope.proxy provides transparent wrapper objects that intercept and control access to wrapped objects, implemented as a C extension for performance and to support advanced features like lying about __class__.","skillfed_tags":["proxy-pattern","access-control","zope-ecosystem"],"use_cases":["Implementing role-based access control by wrapping objects and checking permissions on attribute access.","Building location-aware object hierarchies where proxies track the container context of wrapped objects.","Creating security layers in web frameworks that need to restrict what code can access on sensitive objects.","Wrapping third-party objects to add logging, caching, or other cross-cutting behavior without modifying the original class.","Enforcing immutability or read-only views of objects by proxying and blocking write operations."],"what_it_does":"zope.proxy is a generic proxy wrapper library that lets you wrap Python objects to intercept and control their behavior. It's implemented primarily as a C extension, which allows it to do things difficult or impossible in pure Python\u2014like lie about an object's __class__ and proxy all internal slots (__int__, __str__, __add__, etc.). The package also includes a pure-Python fallback for environments like PyPy where the C extension cannot be built.\n\nThe main use case is implementing policies like access checking, location brokering, or other cross-cutting concerns by wrapping objects transparently. When code accesses the wrapped object, the proxy intercepts the operation and applies the policy before delegating to the real object. The wrapper is designed to be mostly invisible to the caller\u2014it proxies nearly all operations and attributes of the wrapped object, making it suitable for frameworks like Zope that need fine-grained control over object access without rewriting application code.","worth_installing":"Yes, if you need transparent object wrapping with full attribute and method proxying. The C extension provides performance and capabilities (like __class__ manipulation) that pure Python cannot match. Install friction is moderate due to compilation, but prebuilt wheels cover most platforms. No known vulnerabilities, actively maintained, and ZPL-2.1 license is permissive. Best suited for framework or library developers; less relevant for typical application code unless you specifically need proxy-based access control."},"id":"zope-proxy","links":{"html":"https://skillfed.io/packages/zope-proxy","md":"https://skillfed.io/packages/zope-proxy.md","pypi":"https://pypi.org/project/zope-proxy/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-04-30","license_spdx":"ZPL-2.1","license_treatment":"unclear","name":"zope.proxy","python_support":"supports_current","summary":"Generic Transparent Proxies"},"popularity":{"monthly_downloads":396081,"position":6975,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"7.2"}
