Skip to main content

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

Usage

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

Setup

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

Release files for sqlwitch 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sqlwitch 0.2
File Size Uploaded
sqlwitch-0.2.tar.gz 4.1 kB Details

Release files / sqlwitch-0.2.tar.gz

Download URL sqlwitch-0.2.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b5f4e54fee14ea95ec92b30633f9923ad08667ec0a0efd4b45013d8bf61848f4
BLAKE2b-256 checksum
How to use checksums
ab85443331e72bc405790d6a6dd53a15276fbb3f7f2f2828721a1ac1b55f13e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page