qmetrics.net

TinyDB

Lightweight pure-Python document database

DatabasesMaintenance modeDesktop/CLI app

TinyDB is in maintenance mode: “This project is in maintenance mode.” source

TinyDB screenshot

TinyDB is a small document-oriented database in pure Python with no external server, aimed at simple apps and local JSON storage.

Overview

TinyDB stores documents represented as Python dictionaries and fits projects that do not need a full SQL engine or a separate database server. It is written in pure Python without dependencies from PyPI and without an external server like PyMongo requires.

The API centers on the TinyDB class, insert and search operations, and a Query object for filtering with logical combinations, negation, regex, and custom tests. Multiple named tables live inside one database file. Storage backends are pluggable, and middleware such as caching layers can wrap default JSON storage.

The project is in maintenance mode: it is considered mature and stable, with ongoing releases for bug fixes and community contributions rather than large architectural changes. It runs on modern Python and PyPy3.

For small tools, prototypes, and apps that only need local structured storage in a single file, TinyDB offers a minimal in-process option compared with heavier database stacks.

Key features

  • Document-oriented dict storage
  • Pure Python, no PyPI dependencies
  • Query language with logic operators
  • Multiple tables per database
  • Custom storage backends
  • Caching middleware
  • JSON file storage default
  • No external database server

Use cases

  • Small app local data
  • Prototypes without SQL
  • Single-file JSON databases
  • Embedded configuration stores
  • Lightweight persistence layers

Tags

Similar software

Supabase

Open-source Postgres platform with auth, APIs, and storage

Supabase bundles a dedicated Postgres database with authentication, auto-generated REST and GraphQL APIs, realtime, functions, file storage, and vector tooling.

★ 115.6k⟳ todayApache-2.0
Open Source Alternative to:FirebaseFirebase Realtime Database

Prometheus

Open-source metrics monitoring and time series database

Prometheus collects metrics from configured targets, evaluates rules, and can raise alerts. It stores time series data and exposes a query language called PromQL.

★ 67.9k⟳ yesterdayApache-2.0
Open Source Alternative to:PRTG Network Monitor

NocoDB

Self-hostable no-code database with spreadsheet interface

NocoDB turns Postgres, MySQL, SQLite, or a hosted database into editable tables with grid, kanban, form, gallery, and calendar views. Teams collaborate with roles, sharing, REST APIs, and workflow integrations.

★ 65.6k⟳ todaySource-available
DatabasesSelf-hostable

etcd

Raft-backed distributed consistent key-value store

etcd stores small critical configuration and coordination data for clusters. It exposes a gRPC API, tolerates failures via Raft, and ships with the etcdctl command-line client.

★ 52.7k⟳ 3 days agoApache-2.0
DatabasesSelf-hostable

DBeaver

Universal multi-platform database tool and SQL client

Free desktop client for developers and DBAs with SQL editing, data editing, ER diagrams, exports, and support for hundreds of JDBC or ODBC databases.

★ 52.6k⟳ todayApache-2.0
DatabasesDesktop/CLI app
Open Source Alternative to:DataGripNavicat+2

ClickHouse

Column-oriented real-time analytics database management system

ClickHouse is a column-oriented database for generating analytical reports in real time using SQL on large datasets.

★ 51.2k⟳ todayApache-2.0
Open Source Alternative to:Amazon Redshift