sanic 23.6.0


A web server and web framework that's written to go fast. Build fast. Run fast.

A web server and web framework that's written to go fast. Build fast. Run fast.

Stars: 17218, Watchers: 17218, Forks: 1527, Open Issues: 75

The sanic-org/sanic repo was created 7 years ago and the last code push was 1 weeks ago.
The project is extremely popular with a mindblowing 17218 github stars!

How to Install sanic

You can install sanic using pip

pip install sanic

or add it to a project with poetry

poetry add sanic

Package Details

Sanic Community
GitHub Repo:


No  sanic  pypi packages just yet.


A list of common sanic errors.

Code Examples

Here are some sanic code examples and snippets.

GitHub Issues

The sanic package has 75 open issues on GitHub

  • Uvicorn ignores listeners errors
  • Fix "DeprecationWarning: There is no current event loop"
  • fix: replace distutils.strtobool() with locally implemented version
  • distutils.strtobool deprecation
  • remove overlapping slots from app.Sanic, fix broken slots inherit of HTTPResponse
  • fix(tasks): newly assigned None in registry
  • HTTP/3 Startup
  • HTTP/3 Support
  • Fixing typing for ListenerMixin.listener
  • Wrong typing for app.listener decorator
  • remove error_logger on websockets
  • Websocket logger uses sanic.log.error_logger
  • Exception processing in tasks
  • Graceful shutdown of signal handlers
  • Update websockets dependency for security remediation

See more issues on GitHub

Related Packages & Articles

fastapi 0.100.1

FastAPI framework, high performance, easy to learn, fast to code, ready for production

Django 4.2.4

A high-level Python web framework that encourages rapid development and clean, pragmatic design.

Flask 2.3.2

A simple framework for building complex web applications.

sniffio 1.3.0

Sniff out which async library your code is running under

Flask-AppBuilder 4.3.5

Simple and rapid application development framework, built on top of Flask. includes detailed security, auto CRUD generation for your models, google charts and much more.