mxProxy Version 0.2.0
A Python extension package providing a configurable transparent proxy object implementation with fine grained access control, data hiding and weak references for Python objects
WHAT IT IS:
mxProxy uses an extension type to wrap objects that you pass to its contructor in essentially two different ways:
1. via a strong reference which works just like any other reference in Python or
2. using a weak reference which allows you to build circular reference models in your data without producing the other- wise difficult to handle memory leakage induced by this.
Furthermore, the implementation offers some very convenient access and cleanup protocols which help you control access to the object (even on very low levels such as type slots) and provide automatic mechanisms for object cleanup prior to normal garbage collection.
Wrapping is done in a transparent way, so that you normally don't even have to recode programs to have them use the proxy instead of the real object -- only the type possibly changes.
mxProxy enables you to build secure environment without having to use techniques like the standard library module Bastion or restricted environments on a per-object basis.
Several different higher level interfaces for the generic type are included in the package, such as InstanceProxy, caching mix-ins, etc.
WHAT'S NEW ?
The 0.2.0 release added a powerful weak reference mechanism to the package and also fixed some minor bugs.
This release also includes a precompiled Windows DLL so that you can use the package right away. Installing on that platform boils down to a simple unzip in the \Python\Lib directory.
WHERE CAN I GET IT ?
The full documentation and instructions for downloading and installing can be found at:
WHAT DOES IT COST ?
It comes with a Python-type license, but is free otherwise.
WHERE CAN I GET SUPPORT ?
I am offering commercial support for this package through Python Professional Services Inc. (http://www.pythonpros.com). Look on their support pages for details or contact me directly.
<P><A HREF="http://starship.skyport.net/~lemburg/mxProxy.html"> mxProxy 0.2.0</A> - generic proxy object providing low-level access control and weak references. (19-Aug-99)