全部搜尋項
bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 原始碼: starlette  ]

套件:python3-starlette(0.14.1-1)

python3-starlette 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 starlette

維護小組:

外部的資源:

相似套件:

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

其他與 python3-starlette 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 python3-starlette

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 41。4 kB230。0 kB [檔案列表]