Skip to main content

One API, More Database.

Project description

crudlib

One API, More Database.

Build Status pypi version GitHub license Documentation Status

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

Quick Start

from crudlib import MySQL

my = MySQL()
my.insert_one(tb="developers", doc={"name": "Zheng"})

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

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

Installation

pip install crudlib

Features

  • MySQL
  • MariaDB

License

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

Sponsors

  • JetBrains - Offer free 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.

Source Distribution

crudlib-1.2.2.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

crudlib-1.2.2-py2.py3-none-any.whl (8.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file crudlib-1.2.2.tar.gz.

File metadata

  • Download URL: crudlib-1.2.2.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.1

File hashes

Hashes for crudlib-1.2.2.tar.gz
Algorithm Hash digest
SHA256 e860888c298e1a0e21e8b32e3df2925a901a461e670e0396e660ab8f0c4dd3dd
MD5 7538bbed2d6325213b8509172295bbce
BLAKE2b-256 72ac6c9dea740433c7a5fc78b547fe15591628b71c691bed7dd35124eb78430f

See more details on using hashes here.

File details

Details for the file crudlib-1.2.2-py2.py3-none-any.whl.

File metadata

  • Download URL: crudlib-1.2.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.1

File hashes

Hashes for crudlib-1.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a257790761cfbea155339b7c9e77681337addb936509c8d58006ecaac6562030
MD5 1aca40b077a4d6f716352da99c73e4ca
BLAKE2b-256 0249ad5f18e2a6ef0efa0b97ee97b8e8e29ca7935a2ed4c06db3a2bfd38b3d31

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page