{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/2"},{"label":"Database","url":"https://skillfed.io/packages/category/database"},{"label":"Database Engines/Servers","url":"https://skillfed.io/packages/category/database-database-engines-servers"}],"enrichment":{"capability":"TinyDB is a lightweight, pure-Python document database that stores JSON-like dictionaries to local files, with no external dependencies or server required.","skillfed_tags":["nosql","embedded-database","json-storage"],"use_cases":["Store configuration or state for a small CLI tool or desktop application without setting up a database server.","Persist user data (preferences, cache, local records) in a single-file format that's human-readable and portable.","Build a quick prototype or MVP that needs structured data storage without the overhead of SQL or MongoDB.","Write integration tests that need a temporary, isolated database without external dependencies.","Manage a simple document collection (logs, events, metadata) for a standalone script or microservice."],"what_it_does":"TinyDB is a document-oriented database written entirely in Python, designed for small applications that would be overkill for a full SQL database or external server. It stores documents as Python dictionaries in JSON files on disk, with no external dependencies or server process required. The API is intentionally simple: you insert dictionaries, query them using a fluent query language with logical operators, and organize data into named tables. It supports middlewares for customization (like caching) and is extensible through custom storage backends.\n\nThe package targets developers building small tools, scripts, or applications where a lightweight local database suffices. It has been actively maintained since 2013, supports Python 3.10 through 3.14 and PyPy3, and includes comprehensive test coverage. The project is now in maintenance mode, meaning new architectural features are unlikely, but bugfixes and community contributions continue.","worth_installing":"Yes, if you're building a small application or tool that needs local document storage without external dependencies. The zero-dependency design, simple API, and active maintenance make it a solid choice for prototypes, scripts, and small projects. Not suitable for applications requiring concurrent writes, complex transactions, or large-scale data\u2014use a proper database for those cases."},"id":"tinydb","links":{"html":"https://skillfed.io/packages/tinydb","md":"https://skillfed.io/packages/tinydb.md","pypi":"https://pypi.org/project/tinydb/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-06","license_spdx":"MIT","license_treatment":"permissive","name":"tinydb","python_support":"supports_current","summary":"TinyDB is a tiny, document oriented database optimized for your happiness :)"},"popularity":{"monthly_downloads":6942135,"position":1805,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"4.9.0"}
