| Home | Trees | Index | Help |
|---|
| Module metakitplus |
|
metakitplus.py
(Viewing/editing the source code with Leo - http://leo.sf.net - is highly advisable)
Metakit Plus is a convenience and enhancement wrapper for Metakit for Python (http://www.equi4.com/metakit/python.html).
This module wraps the metakit classes, and provides a set of enhancement methods for these classes in a way that makes Metakit much more easily extensible.
The derived classes here are trivial to subclass.
Homepage of this module is http://www.freenet.org.nz/python/metakit
This module was written by David McNab, david at freenet dot org dot nz Copyright (C) 2003, David McNab. Released under the GNU General Public License (refer http://gnu.org).
No warranty, yada yada.| Classes | |
|---|---|
storage |
Convenience wrapper for metakit 'storage' class |
view |
Convenience wrapper for metakit views |
| Function Summary | |
|---|---|
Dumps out a voew or storage object in human-readable text | |
property(*args,
**kw)
| |
Creates and returns a function object, which takes a row, and tests against the given values | |
rowSetFunc(row, values) - Createa a row updating function. | |
wrap(*args,
**kw)
| |
| Variable Summary | |
|---|---|
str |
version
|
| Function Details |
|---|
dump(thing)Dumps out a voew or storage object in human-readable text Arguments:
|
rowMatchFunc(values=None, **kw)Creates and returns a function object, which takes a row, and tests against the given values If, for all given, each corresponding column in row matches, returns 1, otherwise returns 0. Arguments:
f = rowMatchFunc({'first':'Fred', 'last':'Flintstone'})
f = rowMatchFunc(first='Fred', last='Flintstone')
|
rowSetFunc(values=None, **kw)rowSetFunc(row, values) - Createa a row updating function. Returns a function which, when called with row, for each key in values, set the corresponding column in row |
| Variable Details |
|---|
version
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 1.1 on Fri Jul 25 19:27:28 2003 | http://epydoc.sf.net |