4 ms·
Perhaps a little tangential, but that reminds me I wrote a SQLite interface with a shelf-like API, for when I wanted incredibly simple data storage which may gr
by Shish2k 13y ago
Perhaps a little tangential, but that reminds me I wrote a SQLite interface with a shelf-like API, for when I wanted incredibly simple data storage which may grow more complex and relational later:
from sqliteshelf import SQLiteShelf
d = SQLiteShelf("filename.sdb", "tablename")
# now use d like any other dictionary, but this one has
# persistent storage
https://github.com/shish/sqliteshelf https://github.com/shish/sqliteshelf