todas as opções
bullseye  ] [  bookworm  ] [  trixie  ] [  forky  ] [  sid  ]
[ Fonte: starlette  ]

Pacote: python3-starlette (0.46.1-3)

Links para python3-starlette

Screenshot

Recursos de Debian:

Baixe o pacote-fonte starlette:

Mantenedores(as):

Fontes externas:

Pacotes similares:

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

Outros pacotes relacionados a python3-starlette

  • depende
  • recomenda
  • sugere
  • melhora

Download de python3-starlette

Baixe para todas as arquiteturas disponíveis
Arquitetura Tamanho do pacote Tamanho instalado Arquivos
all 49.7 kB287.0 kB [lista de arquivos]