Skip to content

Cadwyn

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


Test Coverage PyPI Supported Python versions Discord

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

It is recommended to read the quickstart tutorial first to get your feet wet with Cadwyn's approach