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
Assembled is the only unified platform for staffing and managing your human and AI support team. Icon
Assembled is the only unified platform for staffing and managing your human and AI support team.

AI for world-class support operations

Assembled is the only platform that unifies AI agents and intelligent workforce management to power fast and flexible support operations. Built for scale, we help teams automate over 50% of customer interactions, forecast with 90%+ accuracy, and optimize staffing across in-house and BPO teams. Orchestrate every chat, email, or call, balancing workloads between human and AI agents in real time — without sacrificing quality or control. Trusted by Stripe, Canva, and Robinhood, Assembled transforms support from a cost center into a strategic advantage. Our Workforce and Vendor Management tools connect forecasting, scheduling, and performance for smarter staffing decisions. AI Agents automate conversations across channels with your workflows and brand voice. AI Copilot empowers agents with real-time guidance, suggested replies, and one-click actions for faster, higher-quality resolutions.
Learn More
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