Skip to main content

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, normalized_embedding, and other types are supported and can 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. a practical wrapper of faiss + sqlite. Approximate nearest neighbor search is not supported. Intended for few million vector search
  • 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, any and age based invalidation and size, count based eviction

function_cache

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.3.1.tar.gz (24.2 kB view details)

Uploaded Source

Built Distribution

liteindex-0.0.3.1-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

Details for the file liteindex-0.0.3.1.tar.gz.

File metadata

  • Download URL: liteindex-0.0.3.1.tar.gz
  • Upload date:
  • Size: 24.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for liteindex-0.0.3.1.tar.gz
Algorithm Hash digest
SHA256 dd323f6e209b1b916f1581a98a1a24b30f29ecdd8ff09ccd254c93445f3ef4f8
MD5 f2dae3b604b08cb89c855d43edf80c1c
BLAKE2b-256 5445d3cc154f71890151bbae48a34e5c97fa243b639cad0cfa0921ed3bae2c11

See more details on using hashes here.

File details

Details for the file liteindex-0.0.3.1-py3-none-any.whl.

File metadata

  • Download URL: liteindex-0.0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 22.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for liteindex-0.0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f08730dd387c4a12f112fb2dbfaec96e51115411c25d66a5b31d59a857167c84
MD5 3228044948375c03e59f5ac9b4d620ce
BLAKE2b-256 5126920e405bdd1553c8049510e8ca9d63ad1b814736f7c78129ab84f3b9decf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page