Git Product home page Git Product logo

awesome-sanic's Introduction

Awesome Sanic Awesome

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

User Guide | API Docs | Source | Forums | Discord

Contents

Extensions

Official

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

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
  • sanic-security: A powerful, simple, and async security library for Sanic.
  • SanicApiKey: Simple api key based authentication.
  • Sanic-Auth: A tiny extension provide a decorator @auth.login_required, without Authentication algorithm & Session manage (sanic-session can work togather).
  • Sanic-Beskar: Strong, Simple, and Precise security for Sanic APIs.

Development

Frontend

  • sanja: This module aims to make bringing Jinja templates to Sanic easy.
  • Jinja2-sanic: a jinja2 template renderer for Sanic.
  • Sanic-Babel: Adds i18n/l10n support to Sanic applications with the help of the Babel library
  • Sanic-CORS: A port of flask-cors.
  • Sanic-Jinja2: Support for Jinja2 template.
  • Sanic-Sass: Compile Sass & SCSS to CSS for Sanic.

Monitoring

ORM

  • GINO: A lightweight asynchronous ORM based on SQLAlchemy core, with asyncpg dialect and Sanic extension.
  • Tortoise ORM: an easy-to-use asyncio orm like Django
  • Sanic-Motor: Simple motor wrapper.
  • Sanic-mongodb-extension: Extension for MongoDB with μMongo ODM support for Sanic framework
  • Mayim: The NOT ORM Python hydrator

Requests and Responses

  • Webargs-Sanic: Sanic integration with Webargs. Parse & validate request arguments: headers, arguments, cookies, files, json, etc.
  • 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.
  • TuSanic: TuSanic is a tus.io (simple resumable uploads) server-side implementation for sanic

Caching

Tracing

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.
  • sanic-sse: Server-Sent Events implementation for Sanic.
  • Sanic-CamelCase-Middleware: Middleware for camelizing request and response bodies for sanic.
  • Sanic-Pydantic: A library for parsing and validating http requests for sanic web-framework using pydantic library.
  • sanic-dantic: a sanic request parameter check plugin based on pydantic. support FBV and CBV
  • sanic-fire: An extension for Sanic that adds support for writing external commands to your application.

Resources

Examples

Tutorials

Books

Videos and Podcasts

Built with Sanic

The following is a list of Sanic in production use.

awesome-sanic's People

Contributors

ahopkins avatar artcg avatar avi-av avatar dnikolayev avatar endafarrell-herecom avatar harshanarayana avatar humbss avatar inn0kenty avatar koug44 avatar mac0501 avatar mekicha avatar mihaibalint avatar miss85246 avatar nf1s avatar pahrohfit avatar relrin avatar rscarrera27 avatar shady-robot avatar skar404 avatar tim2anna avatar tomaszdrozdz avatar vepnar avatar xen avatar yunstanford avatar yurenchen000 avatar yusufusta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

awesome-sanic's Issues

Remove sanic-compress

Hello,

I'm looking forward to this plugin but it does not seem to be maintained anymore and looking at the MR, there's a lot of issues with it.

Damien

Please add tortoise-orm to readme

Tortoise ORM is an easy-to-use asyncio ORM (Object Relational Mapper) inspired by Django.

Tortoise ORM is an easy-to-use asyncio ORM (Object Relational Mapper) inspired by Django.
Tortoise ORM was build with relations in mind and admiration for the excellent and popular Django ORM. It's engraved in it's design that you are working not with just tables, you work with relational data.

I think it is very friendly to users who are familiar with django and it supports the sanic framework.
here is Tortoise ORM
Please write it down and let more people know its existence

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.