v0.1.0 — the open-source Stainless
Point your existing stainless.yml at it and get an idiomatic Python SDK. Open source, runs locally, no SaaS.
Stainless's hosted SDK generator is being wound down (Anthropic acquisition). stainful is a continuation path: it reads your existing stainless.yml + OpenAPI spec, unchanged, and emits an idiomatic Python SDK — typed models, typed errors, retries, auto-pagination, streaming, sync+async.
Measured vs the real Stainless-generated OneBusAway SDK (CI-gated, no-regression)
- resource-method recall 1.00, method-signature match 0.99
- model-name recall 0.90, generated code mypy-clean
- 28/29 of Stainless's own test files import unchanged against stainful's output
- regeneration is bit-stable; the repo dogfoods itself
Install
pip install stainful (once published to PyPI)
Honest status
Alpha. Python only. Model-name long tail (~10%) and P3 behavioral-via-Prism remain (see CHANGELOG / QUALITY notes). Not affiliated with Stainless or Anthropic.