# Sanic

> Fast asynchronous Python web framework with its own production server

Source: https://talira.ai/catalog/sanic-xed1w3bn
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Framework, Library
- Categories: [frameworks / web / backend](https://talira.ai/categories/frameworks/web/backend), [languages / python](https://talira.ai/categories/languages/python)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source.
- Free tier: yes[^1]
- Supports: [ASGI](https://talira.ai/standards/asgi.md)[^2]
- Backed by: [Sanic Community Organization](https://talira.ai/orgs/sanic-community-organization.md)

Sanic is an asynchronous Python web framework and web server built for speed, using `async`/`await` throughout. It comes with a production-ready server (multiple workers, TLS, automatic local TLS certificates in development), so an app runs with `sanic path.to.server:app` and no separate server, and it's also ASGI compliant for deployment behind another ASGI server. It has routing, blueprints, middleware, websockets, static files, server lifecycle hooks, signals for built-in and custom events, error handling that answers in HTML, JSON or text, a dev mode error page, and an inspector for running apps. It uses uvloop and ujson when they're available. Sanic needs Python 3.10 or newer and is run by its community.

## Links

- Website: https://sanic.dev/en/
- GitHub: https://github.com/sanic-org/sanic
- Docs: https://sanic.dev/en/guide/getting-started.html

## Problems it solves

- build a fast async API in Python without a separate web server
- serve websockets from a Python web app
- a Python web framework that runs async handlers with its own production server

## Features

- async/await request handlers
- built-in production web server with workers and TLS
- automatic local TLS certificates in dev mode
- ASGI compliant
- websockets, static files, blueprints and middleware
- signals for built-in and custom events
- app inspector for running servers

## Trust

Overall: 0.48 out of 1.
Signals: maintenance 0.27, adoption 0.85, momentum 0.66, community 1.00, backing 0.30, extensibility 0.00.

- latest release v25.12.1 6 months ago
- 18.6k GitHub stars
- 368 contributors
- accepts sponsorship (Open Collective)
- backed by Sanic Community Organization

Warnings:

- last commit 6 months ago

## Alternatives

- [Tornado](https://talira.ai/catalog/tornado-k3en8qdb.md): Python web framework and asynchronous networking library
- [Starlette](https://talira.ai/catalog/starlette-thr3y8p9.md): Lightweight ASGI framework and toolkit for async Python web services
- [FastAPI](https://talira.ai/catalog/fastapi-1tmn6e7v.md): FastAPI framework, high performance, easy to learn, fast to code, ready for production
- [aiohttp](https://talira.ai/catalog/aiohttp-bskxhtdn.md): Asynchronous HTTP client/server framework for asyncio and Python
- [Falcon](https://talira.ai/catalog/falcon-42aechte.md): The minimal, fast, and secure web framework for Python

## Sources

[^1]: https://github.com/sanic-org/sanic/blob/main/LICENSE (checked 24 Nov 2026)
[^2]: https://sanic.dev/en/guide/getting-started.html (checked 28 Nov 2026)
