https://store-images.s-microsoft.com/image/apps.6717.6b9f2f33-66ae-4260-8e33-3ab35196a612.19c88ba3-62b4-487f-b804-2ae024941410.e7288079-72cc-4b8c-a88f-458a3b1ab8b2

Starlette

pcloudhosting

Starlette

pcloudhosting

Version 0.46.2 + Free Support on Ubuntu 24.04

Starlette is a lightweight ASGI (Asynchronous Server Gateway Interface) framework for building fast, high-performance web applications and APIs in Python. It is ideal for asynchronous programming and provides essential features for modern backend development including routing, middleware, sessions, and WebSockets. Starlette is often used as the core foundation for more complex frameworks like FastAPI.

Features of Starlette:

  • High-performance async framework built on ASGI standard.
  • Supports WebSockets, background tasks, and session handling.
  • Minimalistic and flexible — ideal for building microservices or large backends.
  • Built-in support for routing, middleware, and CORS handling.
  • Excellent for developing RESTful APIs and real-time services.
  • Easy to integrate with other Python libraries and tools like Uvicorn and FastAPI.
  • Fully open-source with active development and community support.
  • Lightweight and suitable for deployment in cloud-native or containerized environments.
To check Starlette working, run these commands:
$ sudo su
$ source starlette-env/bin/activate
$ uvicorn app:app --host 0.0.0.0 --port 8000
$ Access via http://localhost:8000 on your browser.

If you want to check it's version: python3 -c "import starlette; print(starlette.__version__")

Disclaimer: Starlette is open-source software distributed under the BSD license. It is not affiliated with, endorsed by, or sponsored by any other organization. Starlette is provided "as is" without warranties of any kind. Users are responsible for evaluating and using the software according to their needs and local regulations. The developers and contributors to Starlette assume no liability for any consequences arising from its use.