{"repo":"Kludex/starlette","free":true,"listed":false,"github":"https://github.com/Kludex/starlette","clone":"git clone https://github.com/Kludex/starlette.git","description":"The little ASGI framework that shines. 🌟","language":"Python","stars":12549,"topics":["python","async","websockets","http","asgi"],"license":"BSD-3-Clause","category":"dev-tools","readme_excerpt":"✨ The little ASGI framework that shines. ✨ --- --- Documentation : https://starlette.dev Source Code : https://github.com/Kludex/starlette --- Starlette Starlette is a lightweight [ASGI][asgi] framework/toolkit, which is ideal for building async web services in Python. It is production-ready, and gives you the following: A lightweight, low-complexity HTTP web framework. WebSocket support. In-process background tasks. Startup and shutdown events. Test client built on httpx . CORS, GZip, Static Files, Streaming responses. Session and Cookie support. 100% test coverage. 100% type annotated codebase. Few hard dependencies. Compatible with asyncio and trio backends. Great overall performance [against independent benchmarks][techempower]. Installation You'll also want to install an ASGI server, such as uvicorn or any of the other ASGI server implementations. Example Then run the application using Uvicorn: Dependencies Starlette only requires anyio , and the following are optional: [ httpx2 ][httpx2] - Required if you want to use the TestClient . [ jinja2 ][jinja2] - Required if you want to use Jinja2Templates . [ python-multipart ][python-multipart] - Required if you want to support form parsing, with request.form() . [ itsdangerous ][itsdangerous] - Required for SessionMiddleware support. [ pyyaml ][pyyaml] - Required for SchemaGenerator support. You can install all of these with pip install starlette[full] . Framework or Toolkit Starlette is designed to be used either as a comple","default_branch":null,"files":null,"tree":[],"storefront":"/r/Kludex","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Kludex/starlette/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}