minidb is a Python module that utilizes the SQLite3 database library in order to store and retrieve Python objects. It utilizes Python's __slots__ mechanism to determine the column names, and uses the class name for table names. Data is always stored as text in the database, but will be converted using the type specified in __slots__ (which therefore has to be a dict).
Fathom is Python3 package that provides database inspection. It allows you to easily retrieve information about database schema for Sqlite3, PostgreSQL, MySQL, and Oracle. Fathom comes with a set of tools built upon the library, which allow you to create django models from database schema or generate entity-relationship diagrams.