Skip to main content

One API, More Database.

Project description


One API, More Database.

Build Status pypi version GitHub license Documentation Status

Implement a set of interfaces to operate databases such as MySQL, MongoDB, and Redis. His goal is not to build a powerful ORM framework like SQLAlchemy, just to satisfy the most basic CRUD operations.

Quick Start

from tinycrud.databases import MySQL, Mongo, Redis

my = MySQL()
my.insert(tb="student", doc={"name": "zx"})

rows = my.query(tb="student", condition={"age": ">=18"})

# Use SQL directly
my.execute("SELECT `User` FROM `mysql.user`;")


pip install tinycrud


  • MySQL
  • MongoDB
  • Redis


This project is licensed under the MIT License - see the LICENSE file for more details.


  • JetBrains - Offer free JetBrains Open Source license.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for TinyCRUD, version 0.1.8
Filename, size File type Python version Upload date Hashes
Filename, size TinyCRUD-0.1.8-py2.py3-none-any.whl (11.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size TinyCRUD-0.1.8.tar.gz (7.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page