sanic/docs/sanic/extensions.md
Ashley Sommer 49f3ba39f9 Add Sanic-Plugins-Framework library to Extensions doc
I made a new tool for devs to use for easily and quickly creating Sanic Plugins (extensions), and for application builders to easily use those plugins in their app.
2017-10-18 17:52:03 +10:00

2.7 KiB

Extensions

A list of Sanic extensions created by the community.

  • Sanic-Plugins-Framework: Library for easily creating and using Sanic plugins.
  • 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.
  • JWT: Authentication extension for JSON Web Tokens (JWT).
  • 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.
  • sanic-transmute: A Sanic extension that generates APIs from python function and classes, and also generates Swagger UI/documentation automatically.
  • pytest-sanic: A pytest plugin for Sanic. It helps you to test your code asynchronously.
  • jinja2-sanic: a jinja2 template renderer for Sanic.(Documentation)