1. Mike Bayer
  2. SQLSoup

Source

SQLSoup /

Filename Size Date modified Message
docs/build
tests
104 B
initial rev
204 B
Added tag rel_0_9_1 for changeset 2409bbfea654
1.1 KB
initial rev
210 B
more manifest
837 B
- correct the tutorial front page, #3
1.2 KB
- add changelog
15.5 KB
- correct the actual __version__...

SQLSoup

SQLSoup provides a convenient way to map Python objects to relational database tables, with no declarative code of any kind. It's built on top of the SQLAlchemy ORM and provides a super-minimalistic interface to an existing database.

Usage is as simple as:

import sqlsoup
db = sqlsoup.SQLSoup("postgresql://scott:tiger@localhost/test")

for user in db.users.all():
    print "user:", user.name

db.users.filter_by(name="ed").update({"name":"jack"})
db.commit()

Included for many years as an extension to SQLAlchemy itself, SQLSoup has been broken out into it's own project as of 2012. The community is encouraged to collaborate on Bitbucket with patches and features.

Documentation and status of SQLSoup is at http://readthedocs.org/docs/sqlsoup/.