Skip to content

Instantly share code, notes, and snippets.

Avatar

Taylor Boon TaylorBoon

View GitHub Profile
@TaylorBoon
TaylorBoon / data_access.py
Last active Aug 29, 2015
Extremely Simple Python ORM
View data_access.py
'''
Extremely Simple Python ORM
Simple stuff for mapping database results onto objects. Extremely simplistic, does not handle table
relationships or anything at all complicated. Not real fast either so not useful for anything that
requires speed or beyond semi-casual usage. Still, it is nice for simple scripts to automate
object creation from data stored in a database.
Tested with MySQL and Oracle (selects only).
'''
You can’t perform that action at this time.