Skip to main content

4 posts tagged with "Python"

Python related posts

View All Tags

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, 3.13+freethreading (nogil), 3.14, and 3.14+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.

Docs Release

· One min read
Miguel Liezun
Senior Software Engineer @ Gencove

Releasing docs for caddy-snake a plugin provides native support for Python apps.

It spawns Python worker subprocesses managed by the Caddy plugin and talks to them over a Unix domain socket, avoiding a separately configured Gunicorn or Uvicorn server.

Supports both WSGI and ASGI, which means you can run all types of frameworks like Flask, Django and FastAPI.