1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
|
Source: starlette
Section: python
Priority: optional
Maintainer: Piotr Ożarowski <piotr@debian.org>
Uploaders: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Build-Depends: debhelper-compat (= 12), dh-python,
python3-all (>= 3.6),
python3-setuptools,
python3-requests <!nocheck>,
Standards-Version: 4.5.0
Homepage: https://www.starlette.io/
Vcs-Git: https://salsa.debian.org/python-team/packages/starlette.git
Vcs-Browser: https://salsa.debian.org/python-team/packages/starlette
Package: python3-starlette
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends},
Recommends: ${python3:Recommends},
python3-uvicorn | python3-daphne,
python3-aiofiles,
python3-h11,
python3-itsdangerous,
python3-graphene,
python3-jinja2,
python3-yaml,
Suggests: ${python3:Suggests},
python3-databases,
# not in Debian yet:
python3-multipart,
Description: 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),
])
|