PythonSQLMapper is a database framework for mapping SQL to objects. It has a similar design to iBATIS, but is simpler. It supports MySQL, PostgreSQL, and SQLite.
It was originally written in Objective-C for iOS and macOS as CocoaSQLMapper. PythonSQLMapper is a reimplementation in Python.
This library was written by Kenji Nishishiro.
pip install PythonSQLMapper
Please read the source.
MIT License