Metadata-Version: 2.1
Name: sqlalchemy-crud-plus
Version: 0.0.4
Summary: Asynchronous CRUD operation based on SQLAlchemy2 model
Home-page: https://github.com/fastapi-practices/sqlalchemy-crud-plus
Author-Email: Wu Clan <jianhengwu0407@gmail.com>
License: MIT
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Project-URL: Homepage, https://github.com/fastapi-practices/sqlalchemy-crud-plus
Project-URL: Repository, https://github.com/fastapi-practices/sqlalchemy-crud-plus
Requires-Python: >=3.10
Requires-Dist: sqlalchemy>=2.0.0
Requires-Dist: pydantic>=2.0
Description-Content-Type: text/markdown

# sqlalchemy-crud-plus

Asynchronous CRUD operations based on SQLAlChemy 2.0

## Download

```shell
pip install sqlalchemy-crud-plus
```

## Use

```python
# example:
from sqlalchemy.orm import declarative_base
from sqlalchemy_crud_plus import CRUDPlus

Base = declarative_base()


class ModelIns(Base):
    # your sqlalchemy model
    pass


class CRUDIns(CRUDPlus[ModelIns]):
    # your controller service
    pass


# singleton
ins_dao: CRUDIns = CRUDIns(ModelIns)
```

## 互动

[WeChat / QQ](https://github.com/wu-clan)

## 赞助

如果此项目能够帮助到你，你可以赞助作者一些咖啡豆表示鼓励：[:coffee: Sponsor :coffee:](https://wu-clan.github.io/sponsor/)
