px
pypx

cadwyn

v9.1.0

Production-ready community-driven modern Stripe-like API versioning in FastAPI

92 KB Python 3.11+ py3-none-anyMIT7 deps
Diff
$ uv add cadwyn

Cadwyn

Production-ready community-driven modern Stripe-like API versioning in FastAPI


Who is this for?

Cadwyn allows you to maintain the implementation just for your newest API version and get all the older versions generated automatically. You keep API backward compatibility encapsulated in small and independent "version change" modules while your business logic stays simple and knows nothing about versioning.

This approach may be useful if you want to:

  1. Support many API versions for a long time
  2. Have features and bugfixes automatically backported to older API versions

Cadwyn has the functionality, theory, and documentation for newcomers to API versioning, for experienced developers looking for a sophisticated tool, for anyone who wants to build a similar framework, and for those who just want to learn about the approaches to API versioning.

Get started

Start with the documentation.

Author

Cadwyn is created and maintained by Stanislav Zmiev (blog, X).

Details

Version
9.1.0
License
MIT
Python
>=3.11
Maintainer
Stanislav Zmiev <[email protected]>

Release Cadence

30
releases in the past year
avg 8 days between releases

Maintainers