TinyDB

TinyDB is a document-oriented database management system written in Python with no external dependencies.

History

TinyDB was created in 2013 by Markus Siemens, designed with ease of use in mind at the sacrifice of performance and ACID guarantees (targeting small, standalone apps).

Checkpoints

Not Supported

Stored Procedures

Not Supported

System Architecture

Embedded

Isolation Levels

Not Supported

Query Interface

Custom API

TinyDB supports queries via its own custom Query class, through which users can construct and execute most of the standard SQL queries involving string operations and numerical comparisons. It also implements its own query caching mechanism.

Concurrency Control

Not Supported

TinyDB does not support concurrent database accesses in general.

Logging

Not Supported

TinyDB does not support logging.

Indexes

Not Supported

Storage Architecture

Disk-oriented In-Memory

Users have the option of either storing their data in a JSON file on disk, or in-memory.

Storage Model

Custom

Stored document data is represented internally as a dictionary.

TinyDB Logo
Website

https://tinydb.readthedocs.org/

Source Code

https://github.com/msiemens/tinydb

Tech Docs

https://tinydb.readthedocs.org/

Developer

Markus Siemens

Country of Origin

DE

Start Year

2013

Project Type

Open Source

Written in

Python

Supported languages

Python

Inspired By

MongoDB

Licenses

MIT