> If you want an sql-like interface, you can simply create an in-memory > sqlite3 database. > > import sqlite3 > db = sqlite3.Connection(':memory:') > > You can create indexes as you need, and query using SQL. Later, if you > find the data getting too big to fit in memory, you can switch to using > an on-disk database instead without significant changes to the code.
Hey kushal, For the effort it would take, I'll add an implementation using this this when I start profiling for the sake of curiosity. Thanks, jlc -- https://mail.python.org/mailman/listinfo/python-list