Welcome to TinyDB!ΒΆ

>>> from tinydb import TinyDB, where
>>> db = TinyDB('/path/to/db.json')
>>> db.insert({'int': 1, 'char': 'a'})
>>> db.search(where('int') == 1)
[{'int': 1, 'char': 'a'}]

Welcome to TinyDB, your tiny, document oriented database optimized for your happiness :) If you’re new here, consider reading the introduction, otherwise feel free to choose one of:

About TinyDB

TinyDB is a tiny, document oriented database optimized for your happiness :)

Useful Links