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 (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, 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. 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, 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.3.tar.gz (24.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

liteindex-0.0.3.3-py3-none-any.whl (23.3 kB view details)

Uploaded Python 3

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

Hashes for liteindex-0.0.3.3.tar.gz
Algorithm Hash digest
SHA256 81ee7179c83e45d4ad7eae592a02dc65cfa88b589d27f67dc3999a7538eb0015
MD5 17219d98666719fde763a8cc3a73ae66
BLAKE2b-256 9873ef4cc05278fe6c167d2163e549232fa2ee026cafdb92828f14827ecc6462

See more details on using hashes here.

Provenance

The following attestation bundles were made for liteindex-0.0.3.3.tar.gz:

Publisher: main.yml on notAI-tech/LiteIndex

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for liteindex-0.0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d1f9d384eb84cdca72ee1834ceac9d5d5b2fa12ecd0662d2b32d48f650a75ad4
MD5 799ab74e600a2c0842eb27c3b5c0a58d
BLAKE2b-256 97b97ab86d55be14812f7c414ae273653af4b95a781288bd3a8543ff9b45b55e

See more details on using hashes here.

Provenance

The following attestation bundles were made for liteindex-0.0.3.3-py3-none-any.whl:

Publisher: main.yml on notAI-tech/LiteIndex

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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