crudlib
One API, More Database.
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.
Metadata
Release files for crudlib 1.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| crudlib-1.2.2.tar.gz | 9.2 kB | Without provenance | Details for crudlib-1.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| crudlib-1.2.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for crudlib-1.2.2-py2.py3-none-any.whl |
Total release size: 17.5 kB
Release files / crudlib-1.2.2.tar.gz
| Download URL | crudlib-1.2.2.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e860888c298e1a0e21e8b32e3df2925a901a461e670e0396e660ab8f0c4dd3dd
|
|
BLAKE2b-256 checksum How to use checksums |
72ac6c9dea740433c7a5fc78b547fe15591628b71c691bed7dd35124eb78430f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / crudlib-1.2.2-py2.py3-none-any.whl
| Download URL | crudlib-1.2.2-py2.py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
a257790761cfbea155339b7c9e77681337addb936509c8d58006ecaac6562030
|
|
BLAKE2b-256 checksum How to use checksums |
0249ad5f18e2a6ef0efa0b97ee97b8e8e29ca7935a2ed4c06db3a2bfd38b3d31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for crudlib 1.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.