Sanic logo

Sanic

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

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 GitHub stars and GitHub forks. Here’s a link to Sanic's open source repository on GitHub

Who uses Sanic?

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

Developers
66 developers on StackShare have stated that they use Sanic.

Sanic Integrations

Pros of Sanic
5
Asyncio
2
Fast
2
Easy to use server
1
Websockets

Sanic Alternatives & Comparisons

What are some alternatives to Sanic?
Flask
Flask is intended for getting started very quickly and was developed with best intentions in mind.
AIOHTTP
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.
Tornado
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
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
132 developers follow Sanic to keep up with related blogs and decisions.