Skip to main content

Modern Stripe-like API versioning in FastAPI

Project description

Cadwyn

Modern Stripe-like API versioning in FastAPI


Test Coverage PyPI Supported Python versions

Who is this for?

Cadwyn allows you to support a single version of your code, auto-generating the code/routes for older versions. You keep versioning encapsulated in small and independent "version change" modules while your business logic knows nothing about versioning.

Its approach will be useful if you want to:

  1. Support many (>2) API versions for a long time
  2. Effortlessly backport features and bugfixes to older API versions

Get started

The documentation has everything you need to get started. It is recommended to read it in the following order:

  1. Tutorial
  2. Recipes
  3. Reference
  4. Theory

Similar projects

The following projects are trying to accomplish similar results with a lot more simplistic functionality.

Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cadwyn-2.1.0rc1.tar.gz (34.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cadwyn-2.1.0rc1-py3-none-any.whl (36.1 kB view details)

Uploaded Python 3

File details

Details for the file cadwyn-2.1.0rc1.tar.gz.

File metadata

  • Download URL: cadwyn-2.1.0rc1.tar.gz
  • Upload date:
  • Size: 34.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.11.5 Linux/6.0.19-4-MANJARO

File hashes

Hashes for cadwyn-2.1.0rc1.tar.gz
Algorithm Hash digest
SHA256 d174bbda846a9ad4a49caf343b8f359a3decee1dd575a30ffebffafc5146105d
MD5 f27d24cb75901b3b02a9a337c30b4250
BLAKE2b-256 c413bc1eb0e55c34881643f5cf221f6726c2f11b20ff0c9343a984361457f5c1

See more details on using hashes here.

File details

Details for the file cadwyn-2.1.0rc1-py3-none-any.whl.

File metadata

  • Download URL: cadwyn-2.1.0rc1-py3-none-any.whl
  • Upload date:
  • Size: 36.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.11.5 Linux/6.0.19-4-MANJARO

File hashes

Hashes for cadwyn-2.1.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 df8204e4e5f46bbe80b1115e67936e059b19ab8b599bf131d252d4659c4eb261
MD5 7ae3aaddd4504ed52e1e3ad7dcb28be2
BLAKE2b-256 6893401865b92552e189863d091499642116089c0d7be012ef8a78e49cc6b97e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page