TinyDB is a lightweight document oriented database optimized for your happiness :) It's written in pure Python and has no external dependencies. The target are small apps that would be blown away by a SQL-DB or an external database server. The current source code has 1800 lines of code (with about 40% documentation) and 1600 lines tests. Like MongoDB, you can store any document (represented as dict) in TinyDB. TinyDB is designed to be simple and fun to use by providing a simple and clean API. TinyDB neither needs an external server (as e.g. PyMongo) nor any dependencies from PyPI. TinyDB works on all modern versions of Python and PyPy. You can easily extend TinyDB by writing new storages or modify the behaviour of storages with Middlewares. TinyDB has been tested with Python 3.6 - 3.10 and PyPy3.

Features

  • 100% test coverage
  • Written in pure Python
  • Works on Python 3.6+ and PyPy3
  • Powerfully extensible
  • TinyDB has been tested with Python 3.6 - 3.10 and PyPy3
  • Has no external dependencies

Project Samples

Project Activity

See All Activity >

Categories

Database

License

MIT License

Follow TinyDB

TinyDB Web Site

Other Useful Business Software
Go From AI Idea to AI App Fast Icon
Go From AI Idea to AI App Fast

One platform to build, fine-tune, and deploy ML models. No MLOps team required.

Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of TinyDB!

Additional Project Details

Programming Language

Python

Related Categories

Python Database Software

Registered

2021-12-30