Skip to main content

Caddy with an embedded python distribution

· One min read
Miguel Liezun
Senior Software Engineer @ Gencove

Now you can retrieve a precompiled binary of caddy with caddy-snake and your preferred version of Python.

Check out the latest release of caddy-snake.

The following python versions are available: 3.12, 3.13 and 3.13+freethreading (nogil).

After downloading the precompiled binary you can do:

$ caddy python-server --app main:app --server-type wsgi

This will automatically start a caddy server that serves your WSGI app located in main:app Python module.

See caddy python-server --help for more instructions.