crudlib-1.2.2
توضیحات
One API, More Database.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | crudlib-1.2.2 |
| نام | crudlib |
| نسخه کتابخانه | 1.2.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Xiang Zheng |
| ایمیل نویسنده | zxyful@gmail.com |
| آدرس صفحه اصلی | https://github.com/zxyle/crudlib |
| آدرس اینترنتی | https://pypi.org/project/crudlib/ |
| مجوز | MIT |
# crudlib
*One API, More Database.*
[](https://github.com/zxyle/crudlib/actions?query=workflow%3A%22Python+package%22)
[](https://pypi.org/project/crudlib/)
[](https://github.com/zxyle/crudlib/blob/master/LICENSE)
[](https://crudlib.readthedocs.io/en/latest/?badge=latest)
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
```python
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
```bash
pip install crudlib
```
## Features
* MySQL
* MariaDB
## License
This project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for more details.
## Sponsors
* [JetBrains](https://www.jetbrains.com/) - Offer free Open Source license.
نیازمندی
| مقدار | نام |
|---|---|
| ==0.9.3 | pymysql |
نحوه نصب
نصب پکیج whl crudlib-1.2.2:
pip install crudlib-1.2.2.whl
نصب پکیج tar.gz crudlib-1.2.2:
pip install crudlib-1.2.2.tar.gz