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 | RSS feed

This version


Download files

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

Files for sqlwitch, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size sqlwitch-0.2.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page