Skip to content

Integrations: check and document more Python web frameworks (Litestar, Sanic, Quart, Pyramid, ...) #823

Open

Description

@JuroOravec

(Opus 5.5)

Citry documents first-party integrations for FastAPI, Starlette, Flask and Django, plus mounting on a bare ASGI or WSGI app (Web frameworks). Many popular Python web frameworks are not covered yet. Some may already work through the bare ASGI or WSGI mount, but nobody has checked, so their users can't tell whether Citry is for them.

awesome-python-web-frameworks lists these (stars as of 2026-11-21):

Framework Stars Interface Likely route
Sanic 18.6k ASGI or its own server bare ASGI mount?
aiohttp 16.6k its own server needs an adapter
Falcon 9.8k ASGI and WSGI bare mount?
Bottle 8.8k WSGI bare WSGI mount?
Litestar 8.5k ASGI bare ASGI mount, or a plugin
Robyn 7.4k its own Rust server needs an adapter
Pyramid 4.1k WSGI bare WSGI mount?
Quart 3.7k ASGI (async Flask API) bare ASGI mount, maybe the Flask recipe
BlackSheep 2.4k ASGI bare ASGI mount?
Emmett 1.2k ASGI bare ASGI mount?

FastHTML (7k) is already in the benchmarks as a separate framework; whether Citry can run inside a FastHTML app is a separate question.

Steps

  1. For each framework, try the bare ASGI or WSGI mount from the docs with one component that uses server events, and note what works: rendering, the runtime routes, events, CSRF, sessions.
  2. Rank by reach (stars, downloads) and by how much work each needs.
  3. For the ones that work as they are: add a short recipe to the Web frameworks page and a smoke test.
  4. For the ones that need an adapter: open a follow-up issue each, with what is missing.

A documented integration also opens the framework's own awesome list (Awesome Litestar, Awesome Sanic, Awesome Pyramid), which the channels research in citry-ops is assessing.

Activity

  1. added
    enhancement
    on Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions