- Home
- Document Databases
- TinyDB
On the recordRead 9 Oct 202619 facts
TinyDB
On the record
- Data operations
- Its API supports inserting, searching, updating, and removing documents.tinydb.readthedocs.io · read 9 Oct 2026
- Extensibility
- Users can add custom storage implementations and middleware.tinydb.readthedocs.io · read 9 Oct 2026
- Extensions
- The documentation lists community extensions including aiotinydb, tinydb-rust, and tinyrecord.tinydb.readthedocs.io · read 9 Oct 2026
- Installation
- The documentation says to install TinyDB from PyPI with `pip install tinydb`.tinydb.readthedocs.io · read 4 Oct 2026
- Intended use
- TinyDB is aimed at small apps that would be poorly served by a SQL database or an external database server.github.com · read 4 Oct 2026
- Language and dependencies
- TinyDB is written in pure Python and has no external dependencies.tinydb.readthedocs.io · read 9 Oct 2026
- License
- The project metadata identifies the license as MIT.github.com · read 4 Oct 2026
- Limitations
- The documentation advises against TinyDB when an application needs multi-process or multi-thread access, table indexes, an HTTP server, relationships, ACID guarantees, or high performance.tinydb.readthedocs.io · read 9 Oct 2026
- Maintenance
- TinyDB is in maintenance mode, with no significant new features or architectural changes planned, though bug fixes and community-contributed features may be released.github.com · read 9 Oct 2026
- Notable limits
- The documentation advises against TinyDB when an application needs multi-process or multi-thread access, indexes, an HTTP server, table relationships, ACID guarantees, or high performance.tinydb.readthedocs.io · read 4 Oct 2026
- Purpose
- TinyDB is a lightweight, document-oriented database intended for small apps that would be poorly served by a SQL database or external database server.github.com · read 9 Oct 2026
- Python support
- The project says it has been tested with Python 3.8 through 3.13 and PyPy3.github.com · read 9 Oct 2026
- Queries
- Queries support comparisons, regular expressions, custom tests, nested fields, and logical combinations.tinydb.readthedocs.io · read 9 Oct 2026
- Security
- The security policy asks vulnerability reporters to use GitHub’s private vulnerability reporting feature and says it aims to respond within seven days.github.com · read 4 Oct 2026
- Security limits
- The security policy says TinyDB is not designed for adversarial multi-tenant environments and recommends validating data before storage.github.com · read 4 Oct 2026
- Security note
- The documentation warns that callable query predicates execute in-process and must not come from untrusted or user-controlled input.tinydb.readthedocs.io · read 9 Oct 2026
- Storage
- By default, TinyDB stores data on disk in JSON format.tinydb.readthedocs.io · read 9 Oct 2026
- Tables
- TinyDB supports tables for organizing documents within a database.tinydb.readthedocs.io · read 9 Oct 2026