Python 3 library for working code-first with Sqlite
Is there a Python 3 library that allows working with SQL databases using a code-first approach?
By code-first I understand being able to infer the DB schema from a set of classes and to generate DDL queries to create开发者_开发问答 the DB objects if needed.
I'm particularly interested in working with a Sqlite database.
SQLAlchemy supports Python 3. It also support SQLite, and defining the schema as Python classes, so it seems like the perfect fit for your requirements.
精彩评论