SuperHash for Python & MySqlDb
Download: SuperHash
SuperHash is a wrapper for MySqlDb rows that knows how to generate certain select, insert and update statements.
Database and SuperHash are wrappers for MySql databases and query rows.
SuperHash provides both struct-like (row.id) and dict-like (row['id']) access to result columns. Changes to columns are tracked; if the query came from a single table row (that is, no joins were used), the changed values can be sent back to the database. You can also create new rows, set values, and insert them.
License
This code is released under the BSD license, which allows commercial and non-commercial use and distribution of binaries and modified sources. It was originally developed for The Conversatron.
Other Considerations
For a much more ambitious SQL wrapper, one that works with multiple back-end DBs, you may want to try Ian Bicking's SQLObject instead.
Contact Information
- Email:

