I run this basic code snippets from the TinyDB package manual:
from tinydb import TinyDB, Query db = TinyDB(\'db.json\') db.purge() db.insert({\'type\': \'app