Super simple keyvalue store for python, backed by sqlite.
Project description
KeyValueSqlite
Super easy drop in replacement for python dictionary, which stores it's key-value to an sqlite database.
This datastructure is not going to win any performance races, but it is super simple to use with just a few lines of code. This is a great option for one of those small web apps which doesn't have enough load to justify mysql or postgres, or a file that will be used by multiple processes, or to store a file that can't be corrupted during a power failure.
When fetching large amounts of data try to use get_many() or dict_range().
Links
TODO:
- Make read access use a shared lock rather than an exclusive lock.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
keyvalue_sqlite-1.0.2.tar.gz
(5.2 kB
view hashes)
Built Distribution
Close
Hashes for keyvalue_sqlite-1.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77ea2bc0964dd157af4ab0d93becbf53974959da2d6d430fffa07c95136a2e62 |
|
MD5 | 9060d4f22e3bc489cb13cc60b07e8ea2 |
|
BLAKE2b-256 | 4f9f284e6cf0ce2aeacc599c9ee3cac92fdeb153499c8c1ace3e4c97db8f6398 |