PyBackend: A simple RDBMS backed object persistence framework

K Raghu Prasad raghuprasad@yahoo.com
2 Aug 2003 07:06:33 -0700


Hi!

I am glad to announce the availability of an RDBMS backed object
persistence framework in Python. It is in beta version, which means
some hidden bugs may be there. It is available under GNU LGPL. So you
can try it in your commercial applications too.

Following are some of its features, straight ripped out from the
project page:

    *  It can store (as well as retrieve) attributes of objects in
(from) a relational database supporting atomic transactions.
    * It allows you to map individual classes to corresponding
databases. Hence an application can use multiple databases to populate
its objects; all transparent to the application programmer.
    * It stores all information pertaining to the classes, attributes,
databases, database authentication and number of connections per
database etc. in a single text based configuration file.
    * It frees the application programmer from the task of creating
and managing database connections. It creates such connections on
demand. Maximum number of database connections for each database can
be specified as a configuration option.
    * If your class interact with the database in more complex ways,
you can execute your queries directly too. In this case you need not
manage any database connections at all. You will get a handle to the
correct database to which your class is mapped.
    * It can ensure atomic transactions even over multiple discrete
operations; like over multiple HTTP/XMLRPC requests. Though not used
in normal object management, this feature can be quite handy when you
want to reserve a database connection exclusively for a particular
use, even in a multi threaded application.

Details are available at its project page:

http://pybackend.sourceforge.net

Hope it helps someone:-)

cheers
Raghu