7.6 KiB
Starlette has a rapidly growing community of developers, building tools that integrate into Starlette, tools that depend on Starlette, etc.
Here are some of those third party packages:
Backports
Python 3.5 port
Plugins
Authlib
The ultimate Python library in building OAuth and OpenID Connect clients and servers. Check out how to integrate with Starlette.
ChannelBox
Another solution for websocket broadcast. Send messages to channel groups from any part of your code.
Checkout MySimpleChat, a simple chat application built using channel-box
and starlette
.
Imia
An authentication framework for Starlette with pluggable authenticators and login/logout flow.
Mangum
Serverless ASGI adapter for AWS Lambda & API Gateway.
Nejma
Manage and send messages to groups of channels using websockets.
Checkout nejma-chat, a simple chat application built using nejma
and starlette
.
Scout APM
An APM (Application Performance Monitoring) solution that can instrument your application to find performance bottlenecks.
SpecTree
Generate OpenAPI spec document and validate request & response with Python annotations. Less boilerplate code(no need for YAML).
Starlette APISpec
Simple APISpec integration for Starlette. Document your REST API built with Starlette by declaring OpenAPI (Swagger) schemas in YAML format in your endpoint's docstrings.
Starlette Context
Middleware for Starlette that allows you to store and access the context data of a request. Can be used with logging so logs automatically use request headers such as x-request-id or x-correlation-id.
Starlette Cramjam
A Starlette middleware that allows brotli, gzip and deflate compression algorithm with a minimal requirements.
Starlette OAuth2 API
A starlette middleware to add authentication and authorization through JWTs. It relies solely on an auth provider to issue access and/or id tokens to clients.
Starlette Prometheus
A plugin for providing an endpoint that exposes Prometheus metrics based on its official python client.
Starlette WTF
A simple tool for integrating Starlette and WTForms. It is modeled on the excellent Flask-WTF library.
Starlette-Login
User session management for Starlette. It handles the common tasks of logging in, logging out, and remembering your users' sessions over extended periods of time.
Starsessions
An alternate session support implementation with customizable storage backends.
webargs-starlette
Declarative request parsing and validation for Starlette, built on top of webargs.
Allows you to parse querystring, JSON, form, headers, and cookies using type annotations.
DecoRouter
FastAPI style routing for Starlette.
Allows you to use decorators to generate routing tables.
Frameworks
FastAPI
High performance, easy to learn, fast to code, ready for production web API framework. Inspired by APIStar's previous server system with type declarations for route parameters, based on the OpenAPI specification version 3.0.0+ (with JSON Schema), powered by Pydantic for the data handling.
Flama
Formerly Starlette API.
Flama aims to bring a layer on top of Starlette to provide an easy to learn and fast to develop approach for building highly performant GraphQL and REST APIs. In the same way of Starlette is, Flama is a perfect option for developing asynchronous and production-ready services.
Greppo
A Python framework for building geospatial dashboards and web-applications.
Greppo is an open-source Python framework that makes it easy to build geospatial dashboards and web-applications. It provides a toolkit to quickly integrate data, algorithms, visualizations and UI for interactivity. It provides APIs to the update the variables in the backend, recompute the logic, and reflect the changes in the frontend (data mutation hook).
Responder
Async web service framework. Some Features: flask-style route expression, yaml support, OpenAPI schema generation, background tasks, graphql.
Starlette-apps
Roll your own framework with a simple app system, like Django-GDAPS or CakePHP.
Dark Star
A simple framework to help minimise the code needed to get HTML to the browser. Changes your file paths into Starlette routes and puts your view code right next to your template. Includes support for htmx to help enhance your frontend.
Xpresso
A flexible and extendable web framework built on top of Starlette, Pydantic and di.
GitHub | <a href=https://xpresso-api.dev/" target="_blank">Documentation
Apiman
An extension to integrate Swagger/OpenAPI document easily for Starlette project and provide SwaggerUI and RedocUI.