quick look at how you might use it to create and process database records in the sqlobject system in briefsqlobject mapspython classes to database tables python class instances to rows in the table python instance attributes to row columns for exampleto create tablewe define it with classwith class attributes that define columnsand call its creation method (this code is derived from more complete example at sqlobject' website)from sqlobject import sqlhub processconnection connectionforuri('sqlite:/:memory:'class person(sqlobject)classdescribes table first stringcol(class attributesrow columns mid stringcol(length= default=nonelast stringcol(person createtable(create database table once createdmaking an instance automatically inserts row into the databaseand attribute fetches and assignments are automatically mapped to fetches and updates of the corresponding table row' columnp person(first='bob'last='smith' new instancemakes and inserts row prints all attributes by name first mid 'mattributefetches row column attributeupdates record existing rows/instances may be fetched by methods callsand we can assign multiple columns/attributes with single update operationp person get( set(first='tom'last='jones'fetch existing record/instancep is update two attributes/fields at once in additionwe can select by column values by creating query object and executing itts person select(person first=='tom'queryselect by column value list(tsrun the querylist of instances tjs person selectby(first='tom'last='jones'alternative query form (andnaturallythis barely scratches the surface of the available functionality even at this level of complexitythoughthis is quite trick--sqlobject automatically issues all the sql required to fetchstoreand query the table and rows implied by the python class syntax here againthe net effect allows systems to leverage the power of enterprise-level relational databasesbut still use familiar python class syntax to process stored data in python scripts ormsobject relational mappers