全部搜索项
bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 源代码: starlette  ]

软件包:python3-starlette(0.26.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.
 * 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),
 ])

其他与 python3-starlette 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • 增强

下载 python3-starlette

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 47.4 kB272.0 kB [文件列表]