UtilMeta

Weekly Pick

UtilMeta 是一个用于开发 API 服务的 Python 后端元框架,基于类型注解高效构建声明式接口与 ORM 查询,支持自动参数解析、OpenAPI 文档生成,并能与主流 Python 框架集成。

Check out UtilMeta on CurateClick

• Copy the embed code to showcase this product on your website

• Share on X to spread the word about this amazing tool

UtilMeta | 极简高效的 Python 后端元框架- 项目地址:https://github.com/utilmeta/utilmeta-py- 项目描述:UtilMeta 是一个用于开发 API 服务的后端元框架,基于 Python 类型注解标准高效构建声明式接口与 ORM 查询,能够自动解析请求参数与生成 OpenAPI 文档,高效开发 RESTful 接口,产出的代码简洁清晰,并且支持使用主流 Python 框架(django, flask, fastapi, starlette, sanic, tornado 等)作为运行时实现或渐进式整合,同时支持同步接口与异步接口 * 框架主页 * 文档 | 快速开始 * 文档 | 案例教程- 亮点: * UtilMeta 的声明式 ORM 能高效处理大部分 CRUD 场景,what you define is what you get,自动规避 N+1 关系查询问题,简洁高效 * UtilMeta 可以使用主流的 Python 框架作为运行时实现,仅需一个参数即可切换整个底层实现,你也可以从现有项目渐进式地集成 * UtilMeta 配套了一个全周期的 API 管理平台,可以一站式解决小团队的接口文档调试,日志查询,服务器监控,报警通知与事件管理等运维与管理需求- 示例代码:pythonfrom utilmeta.core import api, ormfrom django.db import modelsfrom .models import User, Articleclass UserSchema(orm.Schema[User]): username: str articles_num: int = models.Count('articles')class ArticleSchema(orm.Schema[Article]): id: int author: UserSchema content: strclass ArticleAPI(api.API): async def get(self, id: int) -> ArticleSchema: return await ArticleSchema.ainit(id)- 截图:imageimageimage

Latest Weekly Picks

make.ink favicon
Weekly Pick

Your AI tattoo generator for pro-grade concepts

Leo Wade
sellfy.com favicon
Weekly Pick

A code-free online store builder to turn views into revenue. Sell digital products, subscriptions, and merch, without fees or hassle.

Maris
www.videotoblog.ai favicon
Weekly Pick

Convert videos into awesome blog posts.

Video To Blog
www.sellerpic.ai favicon
Weekly Pick

SellerPic is the all-in-one AI design platform for e-commerce

SellerPic
fastimage.ai favicon
Weekly Pick

Fast Image AI instantly transforms your photos into stunning styles like Ghibli, Sketch, and Pixar. Effortlessly control image elements and create amazing effects with just one click.

Fast AI Team
linkedinpro.daisy.so favicon
Weekly Pick

AI-powered tool that transforms casual photos into professional LinkedIn headshots instantly. No photographer needed—just upload and download.

Gabriel
crevas.ai favicon
Weekly Pick

Crevas unifies Veo 3, Sora 2, Nano Banana and more into one intuitive canvas — so filmmakers can script, prompt, and generate cinematic stories without switching tools or losing consistency.

Spark Alpha
fotominiatur.com favicon
Weekly Pick

AI Foto Edit - Text to Image & Image Edit

foto miniatur