Questions tagged [python-shove]

Generic dictionaryish object storage frontend

Common object storage frontend that supports dictionary-style access, object serialization and compression, and multiple storage and caching backends.

Supported storage backends out of the box are:

  • DBM
  • Filesystem
  • Memory
  • sqlite (disk or memory)

Current supported caching backends are:

  • Filesystem
  • Memory
  • sqlite (disk or memory)
2 questions
1
vote
0 answers

Python: Sqlite multiple inserts with only one disk operation

I am having some disk problems when deploying to a docker instance and I can't figure out yet how to solve it. In the docker instance, there is a process that uses Shove with sqlite as the backend to save data to disk as a dictionary (I am saving…
eLRuLL
  • 18,488
  • 9
  • 73
  • 99
0
votes
1 answer

Shove giving KeyError when assigning value

I am using shove to avoid loading a huge dictionary into memory. from shove import Shove lemmaDict = Shove('file://storage') with open(str(sys.argv[1])) as lemmaCPT:\ for line in lemmaCPT: line = line.rstrip('\n') lineAr =…
Bib
  • 425
  • 1
  • 4
  • 7