Sanic logo


Python 3.5+ web server that's written to go fast
+ 1

What is Sanic?

Sanic is a Flask-like Python 3.5+ web server that's written to go fast. It's based on the work done by the amazing folks at magicstack. On top of being Flask-like, Sanic supports async request handlers.
Sanic is a tool in the Web Servers category of a tech stack.
Sanic is an open source tool with 14.6K GitHub stars and 1.3K GitHub forks. Here’s a link to Sanic's open source repository on GitHub

Who uses Sanic?

10 companies reportedly use Sanic in their tech stacks, including Herren, Bonton, and AdCombo.

52 developers on StackShare have stated that they use Sanic.

Sanic Integrations

Pros of Sanic
Easy to use server

Sanic Alternatives & Comparisons

What are some alternatives to Sanic?
Flask is intended for getting started very quickly and was developed with best intentions in mind.
It is an Async http client/server framework. It supports both client and server Web-Sockets out-of-the-box and avoids Callback. It provides Web-server with middlewares and pluggable routing.
By using non-blocking network I/O, Tornado can scale to tens of thousands of open connections, making it ideal for long polling, WebSockets, and other applications that require a long-lived connection to each user.
nginx [engine x] is an HTTP and reverse proxy server, as well as a mail proxy server, written by Igor Sysoev. According to Netcraft nginx served or proxied 30.46% of the top million busiest sites in Jan 2018.
Apache HTTP Server
The Apache HTTP Server is a powerful and flexible HTTP/1.1 compliant web server. Originally designed as a replacement for the NCSA HTTP Server, it has grown to be the most popular web server on the Internet.
See all alternatives

Sanic's Followers
100 developers follow Sanic to keep up with related blogs and decisions.