How to Install and Uninstall python3-starlette Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 06,2024

1. Install "python3-starlette" package

Please follow the steps below to install python3-starlette on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install python3-starlette

2. Uninstall "python3-starlette" package

Please follow the instructions below to uninstall python3-starlette on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the python3-starlette package on Ubuntu 20.10 (Groovy Gorilla)

Package: python3-starlette
Architecture: all
Version: 0.13.7-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: 229
Depends: python3:any
Recommends: python3-uvicorn | python3-daphne, python3-aiofiles, python3-h11, python3-itsdangerous, python3-graphene, python3-jinja2, python3-ujson, python3-yaml
Suggests: python3-databases, python3-multipart
Filename: pool/universe/s/starlette/python3-starlette_0.13.7-1_all.deb
Size: 41832
MD5sum: 08430bd726ac351323d854417cb04ee9
SHA1: 176f109c68251850221bfc5b90e1fde7cb409200
SHA256: b106998ac1c96f78b6b7da3968c42f59eba014aaac3c43df54286c01f1f5e74b
SHA512: c97c1f79d2cc2f65c56e19b41e14b39a5ae56a08bffa3edd8cbeca1e28a9a9424d6db79bd959be65e4107987ebab531b0e2f4a8109157a323bc903e3e2faa845
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