Pancake MyBatis Plus
Pancake 框架的 MyBatis Plus ORM 插件,提供异步数据库操作。
Features
- @Mapper 注解 — 标记 Mapper 类,自动注册到 IoC 容器
- BaseMapper — 内置 CRUD 方法(select_by_id, insert, update_by_id, delete_by_id 等)
- SQL 注解 — @Select, @Insert, @Update, @Delete 自定义 SQL
- 链式查询 — QueryWrapper / UpdateWrapper 构造条件
- 动态 SQL —
<if>,<where>,<choose>标签支持
Quick Start
from dataclasses import dataclass
@Mapper
class UserMapper(BaseMapper):
@dataclass
class User:
id: int = None
name: str = None
age: int = None
_entity_class = User
_table_name = "users"
@Select("SELECT * FROM users WHERE name = #{name}")
async def find_by_name(self, name: str) -> list[User]: ...
Configuration
mybatis:
database:
url: resource/db/app.db
License
MIT
Metadata
Release files for pancake-mybatis 0.1.3
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 |
|---|---|---|---|---|
| pancake_mybatis-0.1.3.tar.gz | 12.9 kB | With provenance | Details for pancake_mybatis-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pancake_mybatis-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for pancake_mybatis-0.1.3-py3-none-any.whl |
Total release size: 30.6 kB
Release files / pancake_mybatis-0.1.3.tar.gz
| Download URL | pancake_mybatis-0.1.3.tar.gz |
|---|---|
| Size | 12.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2a0e815c924f02761981bd336eeb1b1e740fd2d598cc2d87096463c1f94df905
|
|
BLAKE2b-256 checksum How to use checksums |
644a584bd7d20071a448f218992a08bd3df883d4fad8c0e61852551e756e2556
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 11, 2026.
Transparency logRelease files / pancake_mybatis-0.1.3-py3-none-any.whl
| Download URL | pancake_mybatis-0.1.3-py3-none-any.whl |
|---|---|
| Size | 17.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
036ebdbe3f6716800b191f85a799c68d64271f6605c49e83ea2576e528e2e2a2
|
|
BLAKE2b-256 checksum How to use checksums |
876b0cce08d951654509f188cdb0d15df6dba82d04a4bc557a8567b235b0bbb4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 11, 2026.
Transparency logSecurity for pancake-mybatis 0.1.3
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for pancake_mybatis-0.1.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 11, 2026.
Transparency logA 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.