About this project

rsgiadapter is a Python library that provides an adapter to run ASGI (Asynchronous Server Gateway Interface) applications, such as FastAPI, Starlette, and Django, on an RSGI server. While it enables compatibility, the project notes that using frameworks with native RSGI support is preferred for optimal performance. Supported capabilities include: - HTTP Request and Response handling (ASGI scope, receive, and send). - WebSocket support (connect, accept, receive, send, and close). - Lifespan management (startup and shutdown events). - Specific extensions such as http.response.pathsend and websocket.http.response. It is compatible with a wide range of ASGI frameworks, including FastAPI, Starlette, Litestar, Falcon, BlackSheep, Quart, Sanic, and Django (3.0+).