We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
项目地址:https://github.com/utilmeta/utilmeta-py
项目描述: UtilMeta 是一个用于开发 API 服务的后端元框架,基于 Python 类型注解标准高效构建声明式接口与 ORM 查询,能够自动解析请求参数与生成 OpenAPI 文档,高效开发 RESTful 接口,产出的代码简洁清晰,并且支持使用主流 Python 框架(django, flask, fastapi, starlette, sanic, tornado 等)作为运行时实现或渐进式整合,同时支持同步接口与异步接口
亮点:
示例代码:
from utilmeta.core import api, orm from django.db import models from .models import User, Article class UserSchema(orm.Schema[User]): username: str articles_num: int = models.Count('articles') class ArticleSchema(orm.Schema[Article]): id: int author: UserSchema content: str class ArticleAPI(api.API): async def get(self, id: int) -> ArticleSchema: return await ArticleSchema.ainit(id)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
UtilMeta | 极简高效的 Python 后端元框架
项目地址:https://github.com/utilmeta/utilmeta-py
项目描述:
UtilMeta 是一个用于开发 API 服务的后端元框架,基于 Python 类型注解标准高效构建声明式接口与 ORM 查询,能够自动解析请求参数与生成 OpenAPI 文档,高效开发 RESTful 接口,产出的代码简洁清晰,并且支持使用主流 Python 框架(django, flask, fastapi, starlette, sanic, tornado 等)作为运行时实现或渐进式整合,同时支持同步接口与异步接口
亮点:
示例代码:
The text was updated successfully, but these errors were encountered: