SQLite based queryable python indexes for dicts and lists
Project description
LiteIndex
Embedded, thread and process safe, disk backed, easy to use, query-able, fast Index implementations
pip install --upgrade liteindex
DefinedIndex
- Documentation | Detailed example | Benchmarks
- fixed schema index i.e: schema has to be defined before hand
number
,boolean
,datetime
,string
,compressed_string
,blob
,json
andother
types are supported andcan be queried upon
- can store any python objects with varying levels of query-ability
Query language is subset of mongodb's
. All queries are documented- works across threads, processes seamlessly
- compression is supported natively and optional custom compression dictionaries can be built
KVIndex
- Documentation | Detailed example | Benchmarks
- simple key value store, can store any python objects, no querying supported
- ultra fast, works across threads, processes seamlessly
- Eviction policies supported:
LRU
,LFU
,any
and age based invalidation and size, count based eviction
function_cache
- Documentation | Detailed example | Benchmarks
- based on KVIndex, can be used to cache function calls of any type
- batch inference caching friendly
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
liteindex-0.0.2.dev43.tar.gz
(21.8 kB
view hashes)
Built Distribution
Close
Hashes for liteindex-0.0.2.dev43-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b8dabc004199ffc2f2e7edeb22f86238078d1ac1256b49c8bbb7a5820dc6a8c |
|
MD5 | b7bccc3e69fccb2503a4b71138b58455 |
|
BLAKE2b-256 | 1993d7b8b2d37069eba40039164e09b3fd13e1860a859890ba2b4aef05ec4b74 |