网页 综合 更新时间 2026-11-13 16:47:38

Advanced Alchemy · Litestar Plugins

自动蜘蛛 litestar.dev 正文约 1649 字
Advanced Alchemy · Litestar Plugins
Check out the project documentation 📚 for more information.
A carefully crafted, thoroughly tested, optimized companion library for SQLAlchemy, offering:
!IMPORTANT Check out the installation guide in our official documentation!
Advanced Alchemy includes a set of asynchronous and synchronous repository classes for easy CRUD operations on your SQLAlchemy models.
For a full standalone example, see the sample here
Advanced Alchemy includes an additional service class to make working with a repository easier. This class is designed to accept data as a dictionary or SQLAlchemy model, and it will handle the type conversions for you.
Advanced Alchemy works with nearly all Python web frameworks. Several helpers for popular libraries are included, and additional PRs to support others are welcomed.
Advanced Alchemy is the official SQLAlchemy integration for Litestar.
In addition to installing with pip install advanced-alchemy, it can also be installed as a Litestar extra with pip install litestar[sqlalchemy].
For a full Litestar example, check here
For a full Flask example, see here
For a full FastAPI example with optional CLI integration, see here
All Litestar Organization projects will always be a community-centered, available for contributions of any size.
Before contributing, please review the contribution guide.
If you have any questions, reach out to us on Discord, our org-wide GitHub discussions page, or the project-specific GitHub discussions page.
An official Litestar Organization Project
Python Compatibility
A modern, fast Python ASGI framework for building APIs that scale.
© 2026 Litestar. Released under the MIT License.
访问原文 返回搜索 https://litestar.dev/plugins/advanced-alchemy
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。