Skip to main content

Padme is a mostly transparent proxy class for Python

Project description

===================================================
Padme - a mostly transparent proxy class for Python
===================================================

.. image:: https://badge.fury.io/py/padme.png
:target: http://badge.fury.io/py/padme

.. image:: https://travis-ci.org/zyga/padme.png?branch=master
:target: https://travis-ci.org/zyga/padme

.. image:: https://pypip.in/d/padme/badge.png
:target: https://pypi.python.org/pypi/padme

Features
========

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




History
=======

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 travis-ci.org integration.
* Remove numbering of generated meta-classes

2015
----

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

Project details


Download files

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

Files for padme, version 1.1.1
Filename, size File type Python version Upload date Hashes
Filename, size padme-1.1.1-py2.py3-none-any.whl (20.3 kB) File type Wheel Python version 3.4 Upload date Hashes View
Filename, size padme-1.1.1.tar.gz (41.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page