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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start 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