{"id":17784746,"url":"https://github.com/notai-tech/liteindex","last_synced_at":"2025-03-16T04:30:41.774Z","repository":{"id":156424587,"uuid":"632952451","full_name":"notAI-tech/LiteIndex","owner":"notAI-tech","description":"ultra fast, thread and process safe, easily queryable Indexes/ caches for Python.","archived":false,"fork":false,"pushed_at":"2024-12-10T04:30:15.000Z","size":1424,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-12T12:47:29.368Z","etag":null,"topics":["diskcache","embedded-database","embeddings","faiss","in-process-database","key-value-database","lru-cache","nearest-neighbor-search","persistent-storage","python","similarity-search","sqlite","vector-database","vector-search"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/notAI-tech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-26T13:18:57.000Z","updated_at":"2025-02-01T19:00:05.000Z","dependencies_parsed_at":"2023-09-23T05:19:13.741Z","dependency_job_id":"bf373446-cde9-4fe0-a3b0-5db0a77c9987","html_url":"https://github.com/notAI-tech/LiteIndex","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notAI-tech%2FLiteIndex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notAI-tech%2FLiteIndex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notAI-tech%2FLiteIndex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notAI-tech%2FLiteIndex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/notAI-tech","download_url":"https://codeload.github.com/notAI-tech/LiteIndex/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243826788,"owners_count":20354220,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["diskcache","embedded-database","embeddings","faiss","in-process-database","key-value-database","lru-cache","nearest-neighbor-search","persistent-storage","python","similarity-search","sqlite","vector-database","vector-search"],"created_at":"2024-10-27T08:06:12.085Z","updated_at":"2025-03-16T04:30:40.984Z","avatar_url":"https://github.com/notAI-tech.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LiteIndex\nEmbedded, thread and process safe, disk backed, easy to use, query-able, fast Index (Cache) implementations\n\n```python\npip install --upgrade liteindex[all]\n```\n\n### DefinedIndex\n- [Documentation](https://github.com/notAI-tech/LiteIndex/blob/main/DefinedIndex.md) | [Detailed example](https://github.com/notAI-tech/LiteIndex/blob/main/examples/defined_index_example.py) | [Benchmarks](https://github.com/notAI-tech/LiteIndex/tree/main/benchmarks/DefinedIndex)\n- fixed schema index i.e: schema has to be defined before hand\n- `number`, `boolean`, `datetime`, `string`, `compressed_string`, `blob`, `json`, `normalized_embedding`, and `other` types are supported and `can be queried upon`\n- can store any python objects with varying levels of query-ability\n- `Query language is subset of mongodb's`. All queries are documented\n- seamless, very fast nearest neighbor search with filtering. can order by, filter by as usual with embeddings\n- works across threads, processes seamlessly\n- handy features like search and update in single query, batch operation support for update, search, del, pop etc ..\n- in-place math operations support wherever applicable i.e: += etc can be done in single query optimally\n- compression is supported natively and optional custom compression dictionaries can be built automatically\n\n### KVIndex\n- [Documentation](https://github.com/notAI-tech/LiteIndex/blob/main/KVIndex.md) | [Detailed example](https://github.com/notAI-tech/LiteIndex/blob/main/examples/defined_index_example.py) | [Benchmarks](https://github.com/notAI-tech/LiteIndex/tree/main/benchmarks/DefinedIndex)\n- simple key value store, can store any python objects, can be queried for equality, sorting, max, min etc wherever applicable\n- in-place math operations support wherever applicable i.e: += etc can be done in single query optimally\n- has a python dict like interface\n- batch operation support for update, search, del, pop etc ..\n- ultra fast, works across threads, processes seamlessly\n- Eviction policies supported: `LRU`, `LFU`, `any` and age based invalidation and size, count based eviction\n\n### function_cache\n- [Documentation](https://github.com/notAI-tech/LiteIndex/blob/main/function_cache.md) | [Detailed example](https://github.com/notAI-tech/LiteIndex/blob/main/examples/function_cache_example.py) | [Benchmarks](https://github.com/notAI-tech/LiteIndex/tree/main/benchmarks/function_cache)\n- based on KVIndex, can be used to cache function calls of any type\n- batch inference caching friendly\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotai-tech%2Fliteindex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnotai-tech%2Fliteindex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotai-tech%2Fliteindex/lists"}