toutes les options
bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Paquet source : starlette  ]

Paquet : python3-starlette (0.14.1-1)

Liens pour python3-starlette

Screenshot

Ressources Debian :

Télécharger le paquet source starlette :

Responsables :

Ressources externes :

Paquets similaires :

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

Autres paquets associés à python3-starlette

  • dépendances
  • recommandations
  • suggestions
  • enhances

Télécharger python3-starlette

Télécharger pour toutes les architectures proposées
Architecture Taille du paquet Espace occupé une fois installé Fichiers
all 41,4 ko230,0 ko [liste des fichiers]