Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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


Release history Release notifications

This version
History Node

1.1.1

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 CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page