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 (Cache) implementations
pip install --upgrade liteindex[all]
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,normalized_embedding, andothertypes 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- seamless, very fast nearest neighbor search with filtering. can order by, filter by as usual with embeddings
- works across threads, processes seamlessly
- handy features like search and update in single query, batch operation support for update, search, del, pop etc ..
- in-place math operations support wherever applicable i.e: += etc can be done in single query optimally
- compression is supported natively and optional custom compression dictionaries can be built automatically
KVIndex
- Documentation | Detailed example | Benchmarks
- simple key value store, can store any python objects, can be queried for equality, sorting, max, min etc wherever applicable
- in-place math operations support wherever applicable i.e: += etc can be done in single query optimally
- has a python dict like interface
- batch operation support for update, search, del, pop etc ..
- ultra fast, works across threads, processes seamlessly
- Eviction policies supported:
LRU,LFU,anyand 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file liteindex-0.0.3.3.tar.gz.
File metadata
- Download URL: liteindex-0.0.3.3.tar.gz
- Upload date:
- Size: 24.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81ee7179c83e45d4ad7eae592a02dc65cfa88b589d27f67dc3999a7538eb0015
|
|
| MD5 |
17219d98666719fde763a8cc3a73ae66
|
|
| BLAKE2b-256 |
9873ef4cc05278fe6c167d2163e549232fa2ee026cafdb92828f14827ecc6462
|
Provenance
The following attestation bundles were made for liteindex-0.0.3.3.tar.gz:
Publisher:
main.yml on notAI-tech/LiteIndex
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
liteindex-0.0.3.3.tar.gz -
Subject digest:
81ee7179c83e45d4ad7eae592a02dc65cfa88b589d27f67dc3999a7538eb0015 - Sigstore transparency entry: 154364267
- Sigstore integration time:
-
Permalink:
notAI-tech/LiteIndex@86f00799f87c2e79c1dd18b86e3c99521fe93971 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/notAI-tech
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@86f00799f87c2e79c1dd18b86e3c99521fe93971 -
Trigger Event:
push
-
Statement type:
File details
Details for the file liteindex-0.0.3.3-py3-none-any.whl.
File metadata
- Download URL: liteindex-0.0.3.3-py3-none-any.whl
- Upload date:
- Size: 23.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1f9d384eb84cdca72ee1834ceac9d5d5b2fa12ecd0662d2b32d48f650a75ad4
|
|
| MD5 |
799ab74e600a2c0842eb27c3b5c0a58d
|
|
| BLAKE2b-256 |
97b97ab86d55be14812f7c414ae273653af4b95a781288bd3a8543ff9b45b55e
|
Provenance
The following attestation bundles were made for liteindex-0.0.3.3-py3-none-any.whl:
Publisher:
main.yml on notAI-tech/LiteIndex
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
liteindex-0.0.3.3-py3-none-any.whl -
Subject digest:
d1f9d384eb84cdca72ee1834ceac9d5d5b2fa12ecd0662d2b32d48f650a75ad4 - Sigstore transparency entry: 154364268
- Sigstore integration time:
-
Permalink:
notAI-tech/LiteIndex@86f00799f87c2e79c1dd18b86e3c99521fe93971 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/notAI-tech
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@86f00799f87c2e79c1dd18b86e3c99521fe93971 -
Trigger Event:
push
-
Statement type: