sqlitedict icon indicating copy to clipboard operation
sqlitedict copied to clipboard

Persistent dict, backed by sqlite3 and pickle, multithread-safe.

Results 40 sqlitedict issues
Sort by recently updated
recently updated
newest added

Hello, I am a happy user of the SqliteDict. Thanks for making it! I would like to store a list as a table in the same sql file. At the...

It would be nice to have sqlitedict methods as co-routines. Thoughts?

feature

Looking for similar prefix scan functionality like what is available in LevelDB or BadgerDB. Basically looking for the option to scan a set of prefixes. ``` def prefix_iteritems(self, prefix: str):...

Took me some time to find the culprit, but after upgrading to sqlitedict `2.0.0` the writing is significantly slower. I am writing with: ``` with SqliteDict("tmp.db") as tmp: tmp["tmp"] =...

bug

Encountered this error during a write to the database using the library. The objects being written were `collections.Counter[Tuple[str]]` and `Dict[str, Counter[Tuple[str]]]` Both types of objects previously worked fine in being...

bug

After power down I got this issue on many files. Other sqlite3 files were working well. ```` class nestedDictSqlite(defaultdict): 'like defaultdict but default_factory receives the key so table is used...

I store the main object id as a tablename. If I want to drop the object from the db, there is no way to drop a table using the SqliteDict...

1. Added a Class _Con_SqliteDict which inherits SqliteDict but uses an existing Connection to initialize, it can be used for converting an existing sqlite connection to a SqliteDict connection, although...

![image](https://user-images.githubusercontent.com/31314950/125039101-c1cae700-e0b3-11eb-9773-2d26566bb340.png) `sql_operation(0, oneId, twoId, threeId, fc)` ``` def sql_operation(w, oneId, twoId, threeId, fc): global code_folder fc2=0 try: if w==0: try: mydict = SqliteDict(code_folder+'core.sqlite', autocommit=True) uid = str(oneId)+"_"+str(twoId)+"_"+str(threeId) mydict[uid] = fc...