/sqlite_json

SQLAlchemy plugin that adds SQLite dialect JSON support

Primary LanguagePythonMIT LicenseMIT

sqlite_json

This plugin provides support for the SQLite json1 extension in the form of an engine plugin and extended JSON type.

Install

pip install git+https://github.com/everilae/sqlite_json

Usage

If using SQLAlchemy 1.2.3 or above

>>> engine = create_engine("sqlite:///", plugins=["jsonplugin"])

else

>>> engine = create_engine("sqlite:///?plugin=jsonplugin")

License

This package is licensed under the OSI MIT License.