sqlyte
A simple SQLite interface.
SQLite is a C-language library that implements a small, fast, self-contained, high-reliability, full-featured, SQL database engine. In contrast to many other database management systems, SQLite is not a client–server database engine. Rather, it is embedded into the end program.
sqlite3 is a Python interface to SQLite.
sqlyte
provides an opinionated interface on top of sqlite3
.
db(path, *models) -> sqlyte.Database # [source]
return a connection to a SQLite
database
Database supplied by given path
or in environment variable $SQLDB
.
Note: table_schemas
should not include a table (dict key) named "path".