sanic/docs/sanic/extensions.md
2017-04-04 11:06:32 -07:00

2.0 KiB

Extensions

A list of Sanic extensions created by the community.

  • Sessions: Support for sessions. Allows using redis, memcache or an in memory store.
  • CORS: A port of flask-cors.
  • Compress: Allows you to easily gzip Sanic responses. A port of Flask-Compress.
  • Jinja2: Support for Jinja2 template.
  • OpenAPI/Swagger: OpenAPI support, plus a Swagger UI.
  • Pagination: Simple pagination support.
  • Motor: Simple motor wrapper.
  • Sanic CRUD: CRUD REST API generation with peewee models.
  • UserAgent: Add user_agent to request
  • Limiter: Rate limiting for sanic.
  • Sanic EnvConfig: Pull environment variables into your sanic config.
  • Babel: Adds i18n/l10n support to Sanic applications with the help of the Babel library
  • Dispatch: A dispatcher inspired by DispatcherMiddleware in werkzeug. Can act as a Sanic-to-WSGI adapter.
  • Sanic-OAuth: OAuth Library for connecting to & creating your own token providers.
  • Sanic-nginx-docker-example: Simple and easy to use example of Sanic behined nginx using docker-compose.
  • sanic-graphql: GraphQL integration with Sanic
  • sanic-prometheus: Prometheus metrics for Sanic
  • Sanic-RestPlus: A port of Flask-RestPlus for Sanic. Full-featured REST API with SwaggerUI generation.