humbss / awesome-sanic

A curated list of awesome Sanic resources and extensions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Awesome Sanic Awesome

A curated list of awesome Sanic resources and extensions
Sanic is an Async Python 3.5+ web server that's written to go fast

Docs | Source | Forums

Contents

Extensions

API

  • Sanic CRUD: CRUD REST API generation with peewee models.
  • Sanic-GraphQL: GraphQL integration with 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.

Authentication

  • Sanic-JWT: Authentication extension for JSON Web Tokens (JWT).
  • Sanic-JWT-Extended: Port of flask-jwt-extended, provides access/refresh token with fresh, easy custom claim insertion, and role-based access control
  • Sanic-OAuth: OAuth Library with many provider and OAuth1/OAuth2 support.
  • Sanic-Token-Auth: Simple token-based authentication.
  • Sanic-HTTPAuth: Fork of Flask-HTTPAuth, provides Basic, Digest and Token HTTP authentication for Sanic routes

Development

Frontend

Monitoring

ORM

  • GINO: A lightweight asynchronous ORM based on SQLAlchemy core, with asyncpg dialect and Sanic extension.
  • Sanic-Motor: Simple motor wrapper.
  • Sanic-mongodb-extension: Extension for MongoDB with μMongo ODM support for Sanic framework

Requests and Responses

  • Python-Sanicargs: Parse query args in Sanic using type annotations and a decorator.
  • Sanic Brogz: Allows you to easily gzip Sanic responses. A port of Flask-Compress.
  • Sanic Gzip: Add compression to your Sanic endpoints with a decorator
  • Sanic-Limiter: Rate limiting for sanic.
  • Sanic-UserAgent: Add user_agent to request
  • Sanic-SSLify: Forces SSL on your Sanic app. A port of Flask-SSLify.

Caching

Queues

Scaffolding

  • Cookiecutter-Sanic: Get your sanic application up and running in a matter of second in a well defined project structure. Batteries included for deployment, unit testing, automated release management and changelog generation.

Session

  • Sanic Sessions: Session support for humans. Works with different backends Redis, Mongodb, memcache or an in memory store.

Utils

  • Python-Paginate: Simple pagination support.
  • Sanic-Dispatch: A dispatcher inspired by DispatcherMiddleware in werkzeug. Can act as a Sanic-to-WSGI adapter.
  • Sanic-EnvConfig: Pull environment variables into your sanic config.

Resources

Examples

Tutorials

Videos and Podcasts

Built with Sanic

Taken from The wiki

The following is a list of Sanic in production use.

About

A curated list of awesome Sanic resources and extensions