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
Comprehensive Cybersecurity to Safeguard Your Organization | SOCRadar Icon
Comprehensive Cybersecurity to Safeguard Your Organization | SOCRadar

See what hackers already know about your organization – and stop them from getting in.

Protect your organization from cyber threats with SOCRadar’s cutting-edge threat intelligence. Gain 360° visibility into your digital assets, monitor the dark web, and stay ahead of hackers with real-time insights. Start for free and transform your cybersecurity today.
Free Trial
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