stainlu

stainful

stainlu

The open-source Stainless — point your existing stainless.yml at it and get the same idiomatic Python SDK. Zero migration. No SaaS.

AI 简介

stainful 是一个开源工具,用于根据 OpenAPI 规范和 `stainless.yml` 配置文件生成符合 Python 习惯的 SDK。其核心功能包括自动生成类型安全的模型、自动分页处理、错误类型化、重试机制、流式传输支持以及同步与异步代码的一致性。技术上,stainful 基于 pydantic 和 httpx 构建,确保了输出 SDK 的自包含性和高效性。此外,它还提供了文档生成和 Model Context Protocol 服务器生成的功能,进一步增强了开发体验。适合需要从现有 API 定义快速构建高质量 Python 客户端库的场景,特别是那些已经在使用 Stainless 并希望迁移到本地解决方案的项目。

Python
MIT License
90
Stars
11
Forks
1
Watchers
1
Issues

Star 增长

今日0
近 7 天+1
近 30 天+3
综合评分44.04
默认分支main