SQLObject 1.5.1

An Open Source and free ORM (Object Relational Manager) application written in Python
SQLObject is a popular and open source ORM (Object Relational Manager) written in Python and designed to be used as an object interface to a database, with tables as classes, columns as attributes and rows as instances.

Example:

>>> from sqlobject import *
>>>
>>> sqlhub.processConnection = connectionForURI('sqlite:/:memory:')
>>>
>>> class Person(SQLObject):
... fname = StringCol()
... mi = StringCol(length=1, default=None)
... lname = StringCol()
...
>>> Person.createTable()


Here's how you should use the object:

>>> p = Person(fname="John", lname="Doe")
>>> p

>>> p.fname
'John'
>>> p.mi = 'Q'
>>> p2 = Person.get(1)
>>> p2

>>> p is p2
True

last updated on:
December 16th, 2013, 8:35 GMT
price:
FREE!
developed by:
Ian Bicking
license type:
LGPL (GNU Lesser General Public License) 
category:
ROOT \ Database \ Database APIs

FREE!

In a hurry? Add it to your Download Basket!

user rating 19

UNRATED
2.3/5
 

0/5

1 Screenshot
SQLObject
What's New in version 1.5.0
  • Features & Interface:
  • Helpers for class Outer were changed to lookup columns in table's declarations.
  • Support for Python 2.4 is declared obsolete and will be removed in the next release.
read full changelog

Add your review!

SUBMIT