koki-nakamura22 / pyqlite

Apache License 2.0
0 stars 0 forks source link

pyqlite

pyqlite - Lightweight SQLite O/R Mapper and Model Generator for Python.

How to install

pip install pyqlite

Usage

Generate model class files

pyqlite -gm -d (db file path) [-o (output path)]

When not specified output path, model files are outputted to the current directory.

pyqlite -gm -d test.db

Model files are outputted to the specified directory.

pyqlite -gm -d test.db -o ./models

DB Operation

Please have a look tests in this repository.
(I am sorry, but, I have a plan I will example in the future.)

License

Apache-2.0 license