Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

SQL statement wrapper class

Project Description

This module allows for easy wrapping of SQL tables, simple queries and their results in dictionary-like python datatype objects. Attn: MySQLdb is currently mandatory for this module! Example:

>>> res = myDB.Address.City["Oklahoma%"]
>>> len(res)
2
>>> for r in res:
...   print "%s: %s"%(r.Name, r.Phone)
John Doe: 0405-12345
Joe User: 0405-67890
>>> john = res[0]
>>> john.Phone = '0405-54321'
Release History

Release History

This version
History Node

0.9.2

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting