🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

crudlib

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crudlib

One API, More Database.

1.2.2
PyPI
Maintainers
1

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.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts