all options
bullseye  ] [  bookworm  ] [  sid  ]
[ Source: starlette  ]

Package: python3-starlette (0.16.0-1)

Links for python3-starlette

Screenshot

Debian Resources:

Download Source Package starlette:

Maintainers:

External Resources:

Similar packages:

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

Other Packages Related to python3-starlette

  • depends
  • recommends
  • suggests
  • enhances

Download python3-starlette

Download for all available architectures
Architecture Package Size Installed Size Files
all 42.5 kB235.0 kB [list of files]