px
pypx

cadwyn

v9.0.0

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

216 KB Python 3.11+ py3-none-anyMIT6 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

Whether you are a newbie in API versioning, a pro looking for a sophisticated tool, an experimenter looking to build a similar framework, or even someone who just wants to learn about all approaches to API versioning -- Cadwyn has the functionality, theory, and documentation to cover all the mentioned use cases.

Get started

The documentation has everything you need to succeed.

Author

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

Details

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

Release Cadence

26
releases in the past year
avg 8 days between releases

Maintainers