https://github.com/zopefoundation/zope.proxy
Generic transparent proxies via a C extension module
https://github.com/zopefoundation/zope.proxy
maintained
Last synced: 8 months ago
JSON representation
Generic transparent proxies via a C extension module
- Host: GitHub
- URL: https://github.com/zopefoundation/zope.proxy
- Owner: zopefoundation
- License: other
- Created: 2013-01-07T23:04:55.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2025-09-22T07:32:04.000Z (9 months ago)
- Last Synced: 2025-10-08T00:15:00.988Z (8 months ago)
- Topics: maintained
- Language: Python
- Homepage: https://pypi.org/p/zope.proxy
- Size: 363 KB
- Stars: 5
- Watchers: 59
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
Awesome Lists containing this project
README
================
``zope.proxy``
================
.. image:: https://github.com/zopefoundation/zope.proxy/actions/workflows/tests.yml/badge.svg
:target: https://github.com/zopefoundation/zope.proxy/actions/workflows/tests.yml
.. image:: https://coveralls.io/repos/github/zopefoundation/zope.proxy/badge.svg?branch=master
:target: https://coveralls.io/github/zopefoundation/zope.proxy?branch=master
.. image:: https://readthedocs.org/projects/zopeproxy/badge/?version=latest
:target: https://zopeproxy.readthedocs.io/en/latest/
:alt: Documentation Status
.. image:: https://img.shields.io/pypi/v/zope.proxy.svg
:target: https://pypi.org/project/zope.proxy/
:alt: Latest release
.. image:: https://img.shields.io/pypi/pyversions/zope.proxy.svg
:target: https://pypi.org/project/zope.proxy/
:alt: Python versions
Proxies are special objects which serve as mostly-transparent
wrappers around another object, intervening in the apparent behavior of
the wrapped object only when necessary to apply the policy (e.g., access
checking, location brokering, etc.) for which the proxy is responsible.
zope.proxy is implemented via a C extension module, which lets it do things
like lie about its own ``__class__`` that are difficult in pure Python (and
were completely impossible before metaclasses). It also proxies all the
internal slots (such as ``__int__``/``__str__``/``__add__``).
Complete documentation is at https://zopeproxy.readthedocs.io