1from sqlitedict import SqliteDict
2
3mydict = SqliteDict('./my_db.sqlite', autocommit=True)
4mydict['some_key'] = any_picklable_object
5print(mydict['some_key'])
6for key, value in mydict.items():
7 print(key, value)
8print(len(mydict))
9mydict.close()