Command-line tool
sanic-org / sanic
Accelerate your web app development | Build fast. Run fast.
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
| Type | Command-line tool |
|---|---|
| License | MIT |
| Code health | 7.2 / 10 (Good) |
| Health rank | #109 of 4,000+ indexed repos |
| Last commit | May 31, 2026 |
| Bus factor | 1 |
| Size | 470 files, 35,583 lines |
Explore sanic
- DocumentationModule-by-module documentation, written from the source.
- ArchitectureDependency graph, layers and third-party dependencies.
- Code healthEvery file's score and the findings behind it.
- CommitsEach commit's effect on code health.
- OverviewEverything else the index found: contributors, decisions, what changed this week.
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.
Docsclaude mcp add --transport http repowise https://api.repowise.dev/mcp/sanic-org/sanic
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
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.
Maintain sanic-org/sanic?
Claim this page, add a badge to the README, or re-index it.
Claim this page
Sign in with GitHub and we check that you are an admin or maintainer of sanic-org/sanic. Then add a badge to the README that links readers here.
Add a badge to your README
Readers click through to this page and can ask sanic's code a question. A badge also re-indexes the repo every week and marks you as the verified maintainer.
[](https://repowise.dev/repo/sanic-org/sanic?src=badge_ask)Paste it at the top of README.md, under the title.
Added it already? Verify to get the mark now instead of tomorrow.
Need HTML or the larger health card? More formatsHide more formats
This badge as HTML
<a href="https://repowise.dev/repo/sanic-org/sanic?src=badge_ask"><img src="https://api.repowise.dev/badge/wiki/sanic-org/sanic.svg?label=ask" alt="repowise: Ask this codebase"></a>Code health card
The score, its change since the last index, and when it was measured. Follows the reader's light or dark theme.
<a href="https://repowise.dev/repo/sanic-org/sanic?src=badge_card"><picture><source media="(prefers-color-scheme: light)" srcset="https://api.repowise.dev/badge/health/sanic-org/sanic.svg?style=card&theme=light"><img src="https://api.repowise.dev/badge/health/sanic-org/sanic.svg?style=card" alt="repowise code health" width="500" height="168"></picture></a>