Nati's Python Page

Several modules I wrote that might be useful:

These are modules I wrote primarily for myself, but that you might also find useful. Some are somewhat documented, and should be fairly easy to use, while others include little or no documentation. I will eventually get around to adding full documentation and explanations about all of these, but in the meantime, you might still find them useful. If you do-- please let me know.
superduper.py
duper - A super-duper super replacement, and related utilities.
'duper' and 'classduper' are attribute-access-cooperative versions of the built-in 'super' type.
'superdesc' is a base class for writing descriptors for cooperative attributes.
'coopproperty', an example of a subclass of 'superdesc', is a simple cooperative replacement for the built-in 'property'.
'objectWithFillin' is a baseclass for classes that want the defining class and name of an attribute to be filled in for attributes defined in the class.
DynamicClasses.py
A base-class (and meta-class) for classes with cacheable, invalidatebale, calculated attributes, and a bit more. (mostly undocumented)
apropos.py
Search for objects with name or documentation containing a regexp.
MatLab.py
Easier access to matlab functions and variables, including callable objects that shadow matlab functions. Requires PyMat

Back to Nati's home page
Nathan Srebro
Last modified: Fri Apr 11 08:41:31 EDT 2003