I want to create an SQL-like interface for a special data source that I can query using Python. That is, I have a data source with several named container containers of objects, and I would like to be able to use SQL to filter, merge, sort, and preferably update / insert / delete.
As far as I understand, the functionality of the sqlite3 virtual table is quite suitable for this task. Is it possible to create the necessary bindings in Python? I understand that glue should be c-like, but I hope someone already wrote a Python shell in C or using ctypes.
I will also accept the answer as a better / easier way to do this.
source share