Skip to content

Latest commit

 

History

History
61 lines (48 loc) · 4.54 KB

README.md

File metadata and controls

61 lines (48 loc) · 4.54 KB

awesome-starlette

About A curated list of awesome Starlette resources and extensions

Docs | Source

Contents

Extensions

Base

  • starlette-core - Basic functionality for every site. Includes database, flash messages, email, pagenation
  • 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.

Auth

  • starlette-auth - provides a SQLAlchemy backend for user authentication within starlette.
  • Authlib - The ultimate Python library in building OAuth and OpenID Connect clients and servers. Check out how to integrate with Starlette.
  • Imia - An authentication framework for Starlette with pluggable authenticators and login/logout flow.
  • Starlette-Login - User session management for Starlette. Very much inspired by Flask-Login

Admin

  • starlette-admin - Simple, easy to manage admin site for crud operations. Includes all templates required for starlette-auth styled in this theme.

WebSocket

  • 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.
  • Nejma - Manage and send messages to groups of channels using websockets. Checkout nejma-chat, a simple chat application built using nejma and starlette.

API

  • 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 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.

Other

  • starlette-docker - Base images for starlette.Base images for starlette.
  • starlette-files - Save files using s3 or fs, includes ability to crop, resize, reformat images etc
  • Mangum - Serverless ASGI adapter for AWS Lambda & API Gateway.
  • Scout APM - An APM (Application Performance Monitoring) solution that can instrument your application to find performance bottlenecks.
  • 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 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.

Projects

Boilerplate

  • boilerplate - Empty boilerplate project for Starlette with docker, auth, css and more.

Groups

中文交流群

  • [starlette中文小组] - 加v DeepRedTech拉群