How to Install and Uninstall python3-starlette Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 07,2024

1. Install "python3-starlette" package

Please follow the step by step instructions below to install python3-starlette on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install python3-starlette

2. Uninstall "python3-starlette" package

Please follow the step by step instructions below to uninstall python3-starlette on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove python3-starlette $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-starlette package on Ubuntu 21.10 (Impish Indri)

Package: python3-starlette
Architecture: all
Version: 0.14.1-1
Priority: optional
Section: universe/python
Source: starlette
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Piotr Ożarowski
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 230
Depends: python3:any
Recommends: python3-uvicorn | python3-daphne, python3-aiofiles, python3-h11, python3-itsdangerous, python3-graphene, python3-jinja2, python3-yaml
Suggests: python3-databases, python3-multipart
Filename: pool/universe/s/starlette/python3-starlette_0.14.1-1_all.deb
Size: 42480
MD5sum: af37556a2816c8eeb20290c2a2a5d48a
SHA1: 1c5137818480fba5a99acb4dfa9e94a05a29cc04
SHA256: 4f7ab60a60335d95c1e35e77f4a53cccfb33dc7c37907f4823d48820d807bb58
SHA512: 5236cb17bcfcdd63b669051e0f37b85f1b6fcaf1b87b878997fa58b00d28df3e93331cc9ad2d0789e775a666d28c836ba10e33214f7ec95e70cf547787893c52
Homepage: https://www.starlette.io/
Description-en: 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),
])
Description-md5: 15f8bcf1be9c0defc02e9d6a5ad54e03