{"id":13541882,"url":"https://github.com/mekicha/awesome-sanic","last_synced_at":"2026-01-17T03:49:17.739Z","repository":{"id":40520964,"uuid":"145029813","full_name":"mekicha/awesome-sanic","owner":"mekicha","description":"A curated list of awesome Sanic resources and extensions","archived":false,"fork":false,"pushed_at":"2024-01-06T09:10:47.000Z","size":70,"stargazers_count":737,"open_issues_count":3,"forks_count":77,"subscribers_count":27,"default_branch":"master","last_synced_at":"2024-05-23T04:00:36.608Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mekicha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-08-16T19:19:54.000Z","updated_at":"2024-05-12T23:01:31.000Z","dependencies_parsed_at":"2024-01-14T20:49:07.191Z","dependency_job_id":null,"html_url":"https://github.com/mekicha/awesome-sanic","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mekicha%2Fawesome-sanic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mekicha%2Fawesome-sanic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mekicha%2Fawesome-sanic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mekicha%2Fawesome-sanic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mekicha","download_url":"https://codeload.github.com/mekicha/awesome-sanic/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246788869,"owners_count":20834179,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T10:00:58.303Z","updated_at":"2026-01-17T03:49:17.692Z","avatar_url":"https://github.com/mekicha.png","language":null,"funding_links":[],"categories":["Micro-frameworks","Others","Programming Language Lists"],"sub_categories":["Async","Python Lists"],"readme":"# Awesome Sanic [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)\n\n\u003e A curated list of awesome [Sanic](https://sanicframework.org/) resources and extensions  \n\u003e Sanic is an Async Python 3.7+ web server that's written to go fast\n\n[User Guide](https://sanic.dev/) | [API Docs](https://sanic.readthedocs.io/) | [Source](https://github.com/sanic-org/sanic) | [Forums](https://community.sanicframework.org/) | [Discord](https://discord.gg/FARQzAEMAA)\n\n\n## Contents\n- [Awesome Sanic ![Awesome](https://github.com/sindresorhus/awesome)](#awesome-sanic-)\n  - [Contents](#contents)\n  - [Extensions](#extensions)\n    - [Official](#official)\n    - [API](#api)\n    - [Authentication](#authentication)\n    - [Development](#development)\n    - [Frontend](#frontend)\n    - [Monitoring](#monitoring)\n    - [ORM](#orm)\n    - [Requests and Responses](#requests-and-responses)\n    - [Caching](#caching)\n    - [Tracing](#tracing)\n    - [Queues](#queues)\n    - [Scaffolding](#scaffolding)\n    - [Session](#session)\n    - [Utils](#utils)\n  - [Resources](#resources)\n    - [Examples](#examples)\n    - [Tutorials](#tutorials)\n    - [Books](#books)\n    - [Videos and Podcasts](#videos-and-podcasts)\n    - [Built with Sanic](#built-with-sanic)\n\n\n## Extensions\n\n### Official\n- [Sanic Extensions](https://github.com/sanic-org/sanic-ext): Extended Sanic functionality\n- [Sanic Testing](https://github.com/sanic-org/sanic-testing): Test clients\n- [Sanic Docker](https://hub.docker.com/r/sanicframework/sanic): Docker images\n- [Sanic Assets](https://github.com/sanic-org/sanic-assets): Official logo\n\n### API\n- [Sanic CRUD](https://github.com/Typhon66/sanic_crud): CRUD REST API generation with peewee models.\n- [Sanic-GraphQL](https://github.com/graphql-python/sanic-graphql): GraphQL integration with Sanic\n- [Sanic-RestPlus](https://github.com/ashleysommer/sanic-restplus): A port of Flask-RestPlus for Sanic. Full-featured REST API with SwaggerUI generation.\n- [Sanic-Transmute](https://github.com/yunstanford/sanic-transmute): A Sanic extension that generates APIs from python function and classes, and also generates Swagger UI/documentation automatically.\n- [Sanic-OpenAPI3e](https://github.com/endafarrell/sanic-openapi3e): A Sanic extension that allows you to decorate your routes and configure your OpenAPI spec v3.0 and swagger. Very high spec compliance, customisable.\n- [Sanic-REST-Framework](https://github.com/Tioit-Wang/sanic-rest-framework): API rapid development framework for SANIC, Inspired by Django REST Framework, Has complete authority verification, authentication, serializer components, CBV suite, Depends on the tortoise ORM, Used together with srf_app_helper and tortoise-orm, You can get a smooth development experience like Django\n\n### Authentication\n- [Sanic-JWT](https://github.com/ahopkins/sanic-jwt): Authentication extension for JSON Web Tokens (JWT).\n- [Sanic-JWT-Extended](https://github.com/NovemberOscar/Sanic-JWT-Extended): Port of flask-jwt-extended, provides access/refresh token with fresh, easy custom claim insertion, and role-based access control\n- [Sanic-OAuth](https://gitlab.com/SirEdvin/sanic-oauth): OAuth Library with many provider and OAuth1/OAuth2 support.\n- [Sanic-Token-Auth](https://github.com/saabeilin/sanic-token-auth): Simple token-based authentication.\n- [Sanic-HTTPAuth](https://github.com/MihaiBalint/Sanic-HTTPAuth): Fork of Flask-HTTPAuth, provides Basic, Digest and Token HTTP authentication for Sanic routes\n- [sanic-security](https://github.com/sunset-developer/sanic-security): A powerful, simple, and async security library for Sanic. \n- [SanicApiKey](https://github.com/Quiec/sanicapikey): Simple api key based authentication.\n- [Sanic-Auth](https://github.com/pyx/sanic-auth): A tiny extension provide a decorator @auth.login_required, without Authentication algorithm \u0026 Session manage (sanic-session can work togather).\n- [Sanic-Beskar](https://github.com/pahrohfit/sanic-beskar): Strong, Simple, and Precise security for Sanic APIs.\n\n\n### Development\n- [Pytest-Sanic](https://github.com/yunstanford/pytest-sanic): A pytest plugin for Sanic. It helps you to test your code asynchronously.\n- [Sanic-OpenAPI](https://github.com/sanic-org/sanic-openapi): OpenAPI support, plus a Swagger UI.\n- [Sanic-Devtools](https://github.com/yunstanford/sanic-devtools): Dev tools for Sanic.\n\n### Frontend\n- [sanja](https://github.com/tomaszdrozdz/sanja): This module aims to make bringing Jinja templates to Sanic easy.  \n- [Jinja2-sanic](https://github.com/yunstanford/jinja2-sanic): a jinja2 template renderer for Sanic.\n- [Sanic-Babel](https://github.com/lixxu/sanic-babel): Adds i18n/l10n support to Sanic applications with the help of the `Babel` library\n- [Sanic-CORS](https://github.com/ashleysommer/sanic-cors): A port of flask-cors.\n- [Sanic-Jinja2](https://github.com/lixxu/sanic-jinja2): Support for Jinja2 template.\n- [Sanic-Sass](https://github.com/Vepnar/Sanic-Sass): Compile Sass \u0026 SCSS to CSS for Sanic.\n\n### Monitoring\n- [Sanic-Prometheus](https://github.com/dkruchinin/sanic-prometheus): Prometheus metrics for Sanic\n- [Prometheus-Sanic](https://github.com/skar404/prometheus-sanic): Fork: [dkruchinin/sanic-prometheus](https://github.com/dkruchinin/sanic-prometheus)\n- [Sanic-Rollbar](https://github.com/saabeilin/sanic-rollbar): Rollbar (exception reporting) integration for Sanic\n- [Sanic-Sentry](https://github.com/serathius/sanic-sentry): Sentry integration for Sanic.\n- [Sanic-Statsd](https://github.com/saabeilin/sanic-statsd): StatsD (currently only DataDog; WIP) metrics collection for Sanic\n\n### ORM\n- [GINO](https://github.com/fantix/gino): A lightweight asynchronous ORM based on SQLAlchemy core, with asyncpg dialect and Sanic extension.\n- [Tortoise ORM](https://github.com/tortoise/tortoise-orm):  an easy-to-use asyncio orm like Django\n- [Sanic-Motor](https://github.com/lixxu/sanic-motor): Simple motor wrapper.\n- [Sanic-mongodb-extension](https://github.com/Relrin/sanic-mongodb-extension): Extension for MongoDB with μMongo ODM support for Sanic framework\n- [Mayim](https://ahopkins.github.io/mayim/):  The *NOT* ORM Python hydrator\n\n### Requests and Responses\n- [Webargs-Sanic](https://github.com/EndurantDevs/webargs-sanic): Sanic integration with [Webargs](https://github.com/marshmallow-code/webargs). Parse \u0026 validate request arguments: headers, arguments, cookies, files, json, etc.\n- [Python-Sanicargs](https://github.com/trustpilot/python-sanicargs): Parse query args in Sanic using type annotations and a decorator.\n- [Sanic Brogz](https://github.com/michaelchisari/sanic_brogz): Allows you to easily gzip Sanic responses. A port of Flask-Compress.\n- [Sanic Gzip](https://github.com/koug44/sanic-gzip): Add compression to your Sanic endpoints with a decorator\n- [Sanic-Limiter](https://github.com/bohea/sanic-limiter): Rate limiting for sanic.\n- [Sanic-UserAgent](https://github.com/lixxu/sanic-useragent): Add `user_agent` to request\n- [Sanic-SSLify](https://github.com/dzqdzq/sanic_sslify): Forces SSL on your Sanic app. A port of Flask-SSLify.\n- [TuSanic](https://github.com/avi-av/TuSanic): TuSanic is a [tus.io](https://tus.io) (simple _resumable uploads_) server-side implementation for sanic\n\n### Caching\n- [Sanic-redis-extension](https://github.com/Relrin/sanic-redis-extension): Redis (via aioredis) support for Sanic framework \n\n### Tracing\n- [Sanic-OpenTracing](https://github.com/itechub/sanic-opentracing): Distributed tracing with [OpenTracing](https://opentracing.io/).\n\n### Queues\n- [Sanic-amqp-extension](https://github.com/Relrin/sanic-amqp-extension): AMQP support for Sanic framework\n\n### Scaffolding\n- [Cookiecutter-Sanic](https://github.com/harshanarayana/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.\n\n### Session\n- [Sanic Sessions](https://github.com/xen/sanic_session): Session support for humans. Works with different backends Redis, Mongodb, memcache or an in memory store.\n\n\n### Utils\n- [Python-Paginate](https://github.com/lixxu/python-paginate): Simple pagination support.\n- [Sanic-Dispatch](https://github.com/ashleysommer/sanic-dispatcher): A dispatcher inspired by `DispatcherMiddleware` in werkzeug. Can act as a Sanic-to-WSGI adapter.\n- [Sanic-EnvConfig](https://github.com/jamesstidard/sanic-envconfig): Pull environment variables into your sanic config.\n- [sanic-sse](https://github.com/inn0kenty/sanic_sse): [Server-Sent Events](https://en.wikipedia.org/wiki/Server-sent_events) implementation for Sanic.\n- [Sanic-CamelCase-Middleware](https://nf1s.github.io/sanic-camelcase-middleware/): Middleware for camelizing request and response bodies for sanic. \n- [Sanic-Pydantic](https://nf1s.github.io/sanic-pydantic/): A library for parsing and validating http requests for sanic web-framework using pydantic library.\n- [sanic-dantic](https://github.com/miss85246/sanic-dantic): a sanic request parameter check plugin based on pydantic. support FBV and CBV\n- [sanic-fire](https://github.com/tim2anna/sanic-fire): An extension for Sanic that adds support for writing external commands to your application.\n\n## Resources\n\n### Examples\n- [SanicCRUD-vue](https://github.com/boylegu/SanicCRUD-vue): A example demo base Sanic with vueJS + webpack\n- [Sanic-Nginx-Docker-Example](https://github.com/itielshwartz/sanic-nginx-docker-example): Simple and easy to use example of Sanic behined nginx using docker-compose.\n- [Websocket PubSub Feed](https://gist.github.com/ahopkins/9816b39aedb2d409ef8d1b85f62e8bec): A starting point for building a websocket-based pubsub feed with Redis\n- [Open Matchmaking Auth/Auth microservice](https://github.com/OpenMatchmaking/microservice-auth): Authentication / Authorization microservice for Open Matchmaking platform\n- [Open Matchmaking Game servers pool microservice](https://github.com/OpenMatchmaking/microservice-game-servers-pool): Microservice for handling game servers pool\n- [Open Matchmaking Player statistics microservice](https://github.com/OpenMatchmaking/microservice-player-statistics): Storage for player statistics\n- [Sanic + Motor](https://github.com/humbss/sanic-motor-example): A starting point for building Sanic application integrated with Motor Mongo DB\n\n### Tutorials \n- [Getting started with Sanic](https://www.twilio.com/blog/2016/12/getting-started-with-sanic-the-asynchronous-uvloop-based-web-framework-for-python-3-5.html)\n- [Super Fast Voice Broadcast with Asynchronous Python and Sanic](https://www.nexmo.com/blog/2017/10/05/fast-voice-broadcast-python-dr/)\n- [Deploying an asynchronous Python microservice with Sanic and Zeit Now](https://simonwillison.net/2017/Oct/14/async-python-sanic-now/)\n- [Part I — Getting started with the Sanic web framework: initial setup and https](https://medium.com/@michealjroberts/getting-started-with-the-sanic-web-framework-initial-setup-and-https-730a1eb7c8e3)\n- [How to make your code fast and asynchronous with Python and Sanic](https://medium.com/free-code-camp/goin-fast-and-asynchronous-with-python-and-sanic-387d722f3668)\n\n### Books\n- [Python Web Development with Sanic](https://sanicbook.com/): An in-depth guide for Python web developers to improve the speed and scalability of web applications, by Adam Hopkins\n\n### Videos and Podcasts\n- [Dougal Matthews - Async Web Apps with Sanic](https://www.youtube.com/watch?v=wb0lk4e9DEg\u0026t=1s) - EuroPython 2017\n- [Chris Hawkes - Python Sanic Tutorial](https://www.youtube.com/watch?v=WiGsWfwh0yY\u0026t=3s)\n- [Adam Hopkins, TalkPython - Episode #188: Async for the Pythonic web with Sanic](https://talkpython.fm/episodes/show/188/async-for-the-pythonic-web-with-sanic)\n- [Adam Hopkins, EuroPython 2020 - Overcoming access control in web APIs](https://www.youtube.com/watch?v=Uqgoj43ky6A)\n- [Adam Hopkins, PyConIL 2021 - Liberate your API: Building a task manager inside Sanic](https://www.youtube.com/watch?v=hGAwyg8_W3M)\n- [DevGuyAhnaf, Full Featured Discord.py Bot Dashboard - Part 1: Making the Bot](https://www.youtube.com/watch?v=56Zw8-eaNq8) - 4 Parts on YouTube\n\n### Built with Sanic\n\nThe following is a list of Sanic in production use.\n\n* [chrome-prerender](https://github.com/bosondata/chrome-prerender)\n* [Sanic-MDL-Blog](https://github.com/stopspazzing/Sanic-MDL-Blog)\n* [aioquiz - workshop registration and execution](https://github.com/pdyba/aioquiz)\n* [ethereumd-proxy](https://github.com/DeV1doR/ethereumd-proxy)\n* [json-head](https://json-head.now.sh/): explained in [Deploying an asynchronous Python microservice with Sanic and Zeit Now](https://simonwillison.net/2017/Oct/14/async-python-sanic-now/)\n* [datasette](https://github.com/simonw/datasette) - a tool for providing instant JSON API for your SQLite databases. [More information here](https://simonwillison.net/2017/Nov/13/datasette/).\n* [devmap - Learning mindmaps](https://github.com/sourcepirate/devmap)\n* [NMT - Network Mapper Tool](https://github.com/gbnk0/nmt) - A tool for mapping networks\n* [TuringNetwork](https://github.com/turingnetworkai/turingnetwork) - A NeuralNetwork Visualization tool built on/for PyTorch/ONNX\n* [exchangeratesapi.io](https://github.com/madisvain/exchangeratesapi) - Exchange rates with currency conversion\n* [swagger-py-codegen](https://github.com/guokr/swagger-py-codegen) - a Python web framework generator supports Sanic, Flask, Tornado, Falcon\n* [Simple-image-classifier](https://github.com/gbnk0/simple-image-classifier) - A microservice for image classification, based on tensorflow\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmekicha%2Fawesome-sanic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmekicha%2Fawesome-sanic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmekicha%2Fawesome-sanic/lists"}