I am Computer Engineer, Write articles about python.

Full width home advertisement

Learning by Doing

Learn Python


Post Page Advertisement [Top]

 Sanic Framework

Why Sanic?

  • Simple
  • Lightweight
  • Performant
  • Scalable
  • Production Ready

Python Sanic vs Golang Mux

Introduction

Sanic is a Python 3.7+ web server and web framework that’s written to go fast. It allows the usage of the async/await syntax added in Python 3.5, which makes your code non-blocking and speedy.

 

What is it?

First things first, before you jump in the water, you should know that Sanic is different than other frameworks.

Right there in that first sentence there is a huge mistake because Sanic is both a framework and a web server. In the deployment section we will talk a little bit more about this.

But, remember, out of the box Sanic comes with everything you need to write, deploy, and scale a production grade web application.

Goal

To provide a simple way to get up and running a highly performant HTTP server that is easy to build, to expand, and ultimately to scale.

 

Features

  • Built in fast web server
  • Production ready
  • Highly scalable
  • ASGI compliant
  • Simple and intuitive API design
  • By the community, for the community

References


No comments:

Post a Comment

Bottom Ad [Post Page]