repowiserepowise

Command-line tool

sanic-org / sanic

Accelerate your web app development | Build fast. Run fast.

★ 18,632stars on GitHubPythonMIT
Setup instructions on GitHub

Releases on GitHub (latest v25.12.1, May 31, 2026)

Repowise maps public repos from their source. Not affiliated with sanic-org. What is Repowise?

github.com/sanic-org/sanicIndexed at 5ffc7b3Up to date with upstreamRefreshes on every push

What is sanic?

Sanic is a Python 3.10+ web server and web framework for building HTTP applications. It supports the async/await syntax from Python 3.5, so request handlers can run without blocking. Sanic is also ASGI compliant, so it can be deployed with an alternative ASGI web server. The project is written in Python. Its code health is 7.2 out of 10 (Good), ranked #109 of 4,000+ indexed repos. The last commit to sanic was on May 31, 2026.

As of commit 5ffc7b3, indexed May 31, 2026. What it is comes from a model reading the README; the rest is measured from the source and git history, not from the maintainer.

For agentssanic.md

Repo facts: type, license, health, rank, contributors
sanic facts
TypeCommand-line tool
LicenseMIT
Code health7.2 / 10 (Good)
Health rank#109 of 4,000+ indexed repos
Last commitMay 31, 2026
Bus factor1
Size470 files, 35,583 lines

Explore sanic

Ask about this code in your agent

This connects Repowise to sanic's code. It does not install sanic.

Useful if you want to change or fork sanic: your agent can ask how it is put together and get answers that cite its files.

Show the connect command (Claude Code, Cursor, Codex, VS Code)

Run it in a terminal, then type /mcp in Claude Code and sign in with Repowise. No key to paste.

Docs
bash
claude mcp add --transport http repowise https://api.repowise.dev/mcp/sanic-org/sanic
Claude Code, Claude, Cursor and VS Code sign you in on first use, free. Codex and Windsurf need an API key: sign in to create one.Sign in for a key

This repo is public, so anyone with a free Repowise account can connect.

Try asking

  • get_overview()
  • get_answer("how is sanic put together?")
  • get_why("why is sanic structured this way?")

Ask about sanic

Answers come from sanic's README and source, with the files they cite. Two free answers a day without an account.

Want this for your own codebase? Map your repo free

About this page

Get a page like this for your own codebase

Repowise built this map of sanic-org/sanic from its source and git history. It parses every symbol, draws the dependency graph, scores each file's health from complexity, duplication, coverage and churn, finds hotspots and owners in the history, and writes documentation for every module. Your coding agent reads the same index over MCP, so its answers cite real files.

Free for 2 public repos, with a page like this one. No card. See how Repowise works

Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed. Star Repowise on GitHub

sanic-org/sanic FAQ

What is Sanic?

Sanic is a Python 3.10+ web server and web framework for building HTTP applications. It uses async/await syntax so that request handling does not block. It is also ASGI compliant.

How does Sanic work?

Sanic applications define routes that map URL paths to handler functions, which receive requests and return responses. The core package is the sanic directory, with request and response types in sanic/request/types.py and sanic/response/types.py.

What language is Sanic written in?

Sanic is written in Python, and the README states that it requires Python 3.10 or later. The index counts 331 Python files in the repository.

How is the Sanic code organized?

The sanic directory contains the framework package, examples holds sample applications, tests holds the test suite, and guide holds the documentation site. Shared settings and errors live in sanic/config.py and sanic/exceptions.py.

When should I use Sanic?

Sanic is intended for building a highly performant HTTP server that is easy to build, expand, and scale. It is a fit for projects that need async request handling.

What license does Sanic use?

Sanic is released under the MIT license, identified as MIT in the project metadata.

Code health

7.2out of 10Good

Hotspots average 5.0, the place fixes pay off most.

On the leaderboards:#6 of 8 Python web frameworks#28 of 64 Python repos

Key features of sanic

  • Handlers can use async/await syntax, which keeps request handling non-blocking.
  • Sanic is ASGI compliant, so it can be deployed with an alternative ASGI web server.
  • Applications can be started from the command line with the sanic command, for example sanic hello.app.
  • It makes use of uvloop and ujson for performance, and both can be turned off with environment variables at install time.
  • The User Guide, Changelog, and API Documentation are published online.

How sanic-org/sanic works

The sanic directory holds the framework package, which has 131 files and contains the core server and application code. Incoming requests are represented by the types in sanic/request/types.py, and outgoing responses are built from the types in sanic/response/types.py. Errors are defined in sanic/exceptions.py, and configuration is handled in sanic/config.py. The examples directory holds 36 sample applications, such as examples/request_stream/server.py, which show how routes and handlers are written. The tests directory has 119 files, and tests/test_http.py is one of the files the index marks as a hotspot. The guide directory holds the documentation site, with guide/server.py listed as one of its entry points.

The codebase has 470 files and 3,043 symbols in 8 modules, led by Python, Dockerfile and JavaScript. Code health is 7.2 out of 10, rated good.