$npx skillfedfor your agent

sanic

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

Worth itPyPI Application FrameworksReleased May 20261.6M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — sanic-25.12.1-py3-none-any.whl
v25.12.1 · released 2026-05-31 · Python >=3.10 · 11 runtime deps: sanic-routing, httptools, uvloop, ujson, aiofiles, websockets, multidict, html5tagger

Yes. Sanic is a solid choice for async Python web development. It has low install friction, active maintenance, no known vulnerabilities, permissive licensing, and a clear performance focus backed by a community-maintained project. Install it if you need an async web framework for Python 3.10+ and are comfortable with the 11 runtime dependencies—or if you want to exclude uvloop and ujson, set the environment variables at install time.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • On Fedora 28+, redhat-rpm-config may be needed if using ujson.
  • Low install friction with a pure-wheel distribution.

License · maintenance · safety

MIT (permissive) — MIT license (permissive) places no restrictions on use, modification, or distribution in proprietary or open-source projects.

last release 2026-05-31 (75 days) · last repo commit 2026-07-29 · 18,646 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,586,409 downloads/mo, #3,738 on PyPI

Verify before relying

pip install sanic

from sanic import Sanic
from sanic.response import json

app = Sanic("my-app")

@app.route('/')
async def handler(request):
    return json({'hello': 'world'})

# Run with: sanic my_app.app
  • Whether uvloop and ujson provide measurable performance gains for typical workloads compared to standard alternatives.
  • How Sanic's performance scales under high concurrency relative to other async frameworks.
  • Whether the 11 runtime dependencies introduce meaningful maintenance or security surface area over time.
Same gist for agents: .md · .json

What it is and what it does

Sanic is a web framework and server for Python 3.10+ designed around async/await syntax to build non-blocking, high-performance HTTP applications. It is ASGI-compliant, meaning you can deploy it with alternative ASGI servers if needed. The framework includes 11 runtime dependencies—notably sanic-routing for URL matching, httptools for HTTP parsing, uvloop for faster event loop execution, and ujson for faster JSON serialization—all of which can be toggled off at install time via environment variables if you prefer lighter dependencies.

The package is actively maintained by the community, with a recent release and an established user base. It targets developers building REST APIs, microservices, and real-time applications where request latency and throughput matter. The learning curve is shallow for anyone familiar with Flask or FastAPI, and the async-first design makes it natural to integrate with other async libraries.

Use it for

  • Build REST APIs and microservices that handle many concurrent requests with minimal latency.
  • Create real-time applications (WebSocket support via websockets dependency) that need fast bidirectional communication.
  • Deploy lightweight HTTP servers in containerized or serverless environments where startup time and memory footprint are constrained.
  • Integrate async Python code (database drivers, external API calls) without blocking the request handler.
  • Prototype or scale web applications where async/await patterns are already part of your codebase.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Sanic is a solid choice for async Python web development. It has low install friction, active maintenance, no known vulnerabilities, permissive licensing, and a clear performance focus backed by a community-maintained project. Install it if you need an async web framework for Python 3.10+ and are comfortable with the 11 runtime dependencies—or if you want to exclude uvloop and ujson, set the environment variables at install time.

Install

sanic on PyPI

Before you install

Low install friction with a pure-wheel distribution. Active maintenance with a recent release (75 days ago) and ongoing community support. Requires Python 3.10+. Includes 11 runtime dependencies, notably uvloop and ujson for performance, both optional via environment variables at install time.

Requires Python 3.10 or later. On Fedora 28+, redhat-rpm-config may be needed if using ujson.

License in practice

MIT license (permissive) places no restrictions on use, modification, or distribution in proprietary or open-source projects.

Quickstart

pip install sanic

from sanic import Sanic
from sanic.response import json

app = Sanic("my-app")

@app.route('/')
async def handler(request):
    return json({'hello': 'world'})

# Run with: sanic my_app.app

Verify before relying

  • Whether uvloop and ujson provide measurable performance gains for typical workloads compared to standard alternatives.
  • How Sanic's performance scales under high concurrency relative to other async frameworks.
  • Whether the 11 runtime dependencies introduce meaningful maintenance or security surface area over time.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
11 packages
sanic-routinghttptoolsuvloopujsonaiofileswebsocketsmultidicthtml5taggertraceritetyping-extensionssetuptools
MaintenanceActively maintained 75 days since the last release
Last repo commit
First released
Downloads1,586,409 / month, #3,738 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaEnvironment :: Web EnvironmentLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Evidence: sanic-25.12.1-py3-none-any.whl

Tags

Capabilities
async python web frameworkfast asgi web serverpython 3.10 async http servernon-blocking web frameworkhigh performance python webasync request handlingpython async web development
Topics
async-firstasgi-complianthigh-performance

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “fast asgi web server”

  • sanicSanic is an async Python web framework and ASGI-compliant server…
  • uvicornUvicorn is an ASGI web server that runs async Python web…
  • gunicornGunicorn is a WSGI and ASGI HTTP server for Unix that runs Python web…

Give your agent the search over MCP, or paste the wish link into any chat.

More Application Frameworks packages

fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
textual Worth it
PyPI · Application Frameworks · released Jun 2026

Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.

Install it if you're developing CLI tools, dashboards, or interactive terminal applications.

MITpure Python
443.6Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
mcp Worth it
PyPI · Application Frameworks · released Jul 2026

Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.

Install it if you need to build or connect to servers.

MITpure Python · 3.10+
319.3Mdownloads / mo
Werkzeug Worth it
PyPI · Application Frameworks · released Apr 2026

Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.

BSD-3-Clausepure Python · 3.9+
268.1Mdownloads / mo

See also sanic-testing · granian · sanic-ext · Sanic-Cors · multipart · sanic-routing · uvicorn · sanic-jwt · async-asgi-testclient · piccolo