eugene-eeo / tinyindex

indexes for tinydb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tinyindex

Document indexing for TinyDB. Basically ensures deterministic (as long as there aren't any changes to the table) yielding of documents. A very trivial example usage:

from tinyindex import Index

idx = Index(table, *keys)
for item in idx:
   ...

idx[0]
idx[0:4]

About

indexes for tinydb

License:MIT License


Languages

Language:Python 100.0%