/python-sqlite-object

Simple object for interacting with sqlite

Primary LanguagePythonMIT LicenseMIT

python sqlite object

Simple Python Sqlite3 CRUD and query tool

The main usage is probably if you don't use a ORM, but query the database directly.

Install python-sqlite-object

pip install git+https://github.com/diversen/python-sqlite-object

Or using a tag (latest):

pip install git+https://github.com/diversen/python-sqlite-object@v0.0.2

Usage

See example.py for an example.

Tests

The following SQL creates the database and the test table:

To run the tests:

python -m unittest discover -s tests

License

MIT