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-hypernode.com/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``
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-hypernode.com/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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
padme-1.1.1.tar.gz
(41.6 kB
view details)
Built Distribution
padme-1.1.1-py2.py3-none-any.whl
(20.3 kB
view details)
File details
Details for the file padme-1.1.1.tar.gz
.
File metadata
- Download URL: padme-1.1.1.tar.gz
- Upload date:
- Size: 41.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cda00aa37c3fbb9495461ebda8e65b28d6ae4e4d735f70843d81351cf2a85bf2 |
|
MD5 | 5d7cc9084f544afc54ce649fd9698c75 |
|
BLAKE2b-256 | ba197f8493eb13dfaa015616f2f782aaeb38334ce3fc88bc3a6abebb62dc2093 |
File details
Details for the file padme-1.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: padme-1.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 20.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81ce34419bb2bd9e7f1b4540b1d6943dd2ce44ad600e04058779db651fd0d979 |
|
MD5 | 54f43e2e10cf2d2ac1098419f84e10a0 |
|
BLAKE2b-256 | 8937c2e3c1dc237f9b52a894f667f581c73e255a491ee0ca0f7159ce3590c208 |