Skip to main content

sqlwitch offers idiomatic SQL generation on top of MySQLdb.

Project description

sqlwitch is a Python 2.5+ library that offers idiomatic SQL generation on top of MySQLdb. BSD-licensed.


with db.insert(into='foobars') as obj: = 1
with'foo, bar', from_='foobars'):
    db.where('foo = 1')
with db.update('foobars') as changeset: = 2
    db.where('foo = 1')
with db.delete(from_='foobars'):
    db.where('foo = 2')


$ pip install sqlwitch # or
$ easy_install sqlwitch # or
$ cd sqlwitch-0.2; python install

Project details

Release history Release notifications

This version
History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
sqlwitch-0.2.tar.gz (4.1 kB) Copy SHA256 hash SHA256 Source None Jan 3, 2011

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page