Alle Optionen
bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Quellcode: starlette  ]

Paket: python3-starlette (0.37.2-1)

Links für python3-starlette

Screenshot

Debian-Ressourcen:

Quellcode-Paket starlette herunterladen:

Betreuer:

Externe Ressourcen:

Ähnliche Pakete:

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.
 * 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.
 * 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),
 ])

Andere Pakete mit Bezug zu python3-starlette

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • erweitert

python3-starlette herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 48,7 kB286,0 kB [Liste der Dateien]