všetky možnosti
bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Zdroj: starlette  ]

Balík: python3-starlette (0.14.1-1)

Odkazy pre python3-starlette

Screenshot

Zdroje Debian:

Stiahnuť zdrojový balík starlette:

Správcovia:

Externé zdroje:

Podobné balíky:

ASGI library ideal for building high performance asyncio services

Starlette is a lightweight ASGI (Asynchronous Server Gateway Interface) framework/toolkit, which is ideal for building high performance asyncio services.

It is production-ready, and gives you the following:

 * Seriously impressive performance.
 * WebSocket support.
 * GraphQL support.
 * In-process background tasks.
 * Startup and shutdown events.
 * Test client built on `requests`.
 * CORS, GZip, Static Files, Streaming responses.
 * Session and Cookie support.
 * 100% test coverage.
 * 100% type annotated codebase.
 * Zero hard dependencies.

Example:

 from starlette.applications import Starlette
 from starlette.responses import JSONResponse
 from starlette.routing import Route

 async def homepage(request):
     return JSONResponse({'hello': 'world'})

 app = Starlette(debug=True, routes=[
   Route('/', homepage),
 ])

Ostatné balíky súvisiace s balíkom python3-starlette

  • závisí
  • odporúča
  • navrhuje
  • vylepšuje

Stiahnuť python3-starlette

Stiahnuť pre všetky dostupné architektúry
Architektúra Veľkosť balíka Nainštalovaná veľkosť Súbory
all 41.4 kB230.0 kB [zoznam súborov]