Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

Padme is a mostly transparent proxy class for Python

Project description

Padme - a mostly transparent proxy class for Python

.. image::

.. image::

.. image::


* Free software: LGPLv3 license
* Support for Python 2.7 and Python 3.2+
* Documentation:
* Create proxy classes for any object with :class:`padme.proxy`.
* Redirect particular methods in subclasses using :class:`padme.unproxied`.


1.1.1 (2015-03-04)
* Add general support for **Python 2.7**.
* All numeric methods are now supported with some methods
exclusive to Python 2.x (``__div__()``, ``__coerce__()``,
``__oct__()``, ``__hex__()``).
* Add support for the new matrix multiplication operator ``@``.
* Make ``__nonzero__()`` and ``__unicode__()`` exlusive to Python 2.x.
* Make ``__bool__()`` and ``__bytes__()`` exclusive to Python 3.x.
* Make ``__length_hint()`` exclusive to Python 3.4.
* Add support for the ``__cmp__()`` method, exclusive to Python 2.x.
* Add support for accessing the proxied object with the new
:meth:`~padme.proxy.original()` function.
* Add support for accessing proxy state with the new
:meth:`~padme.proxy.state()` function.
* De-couple proxy classes from proxied objects, much more lightweight proxy
design is possible this way (less objects, lower cost to create each new proxy).

1.0 (2014-02-11)

* First release on PyPI.
* Add a short introduction.
* Enable integration.
* Remove numbering of generated meta-classes


* Released on PyPI as a part of plainbox as ``plainbox.impl.proxy``

Project details

Release history Release notifications

This version
History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
padme-1.1.1-py2.py3-none-any.whl (20.3 kB) Copy SHA256 hash SHA256 Wheel 3.4 Mar 4, 2015
padme-1.1.1.tar.gz (41.6 kB) Copy SHA256 hash SHA256 Source None Mar 4, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page