#133133rd of 146 in Backends, databases and hosting

sanic

Async Python web server and framework with a built-in CLI runner

Stars
18.6k
License
MIT
Last commit
May 2026
Last release
May 2026
Language
Python
Stars, last 29 weeks+112
21 Apr 2026: 18,520 stars28 Apr 2026: 18,528 stars5 May 2026: 18,531 stars12 May 2026: 18,536 stars19 May 2026: 18,540 stars26 May 2026: 18,542 stars2 Jun 2026: 18,546 stars9 Jun 2026: 18,552 stars16 Jun 2026: 18,555 stars23 Jun 2026: 18,558 stars30 Jun 2026: 18,564 stars7 Jul 2026: 18,567 stars14 Jul 2026: 18,571 stars21 Jul 2026: 18,575 stars28 Jul 2026: 18,582 stars4 Aug 2026: 18,585 stars11 Aug 2026: 18,590 stars18 Aug 2026: 18,593 stars25 Aug 2026: 18,598 stars1 Sept 2026: 18,601 stars8 Sept 2026: 18,605 stars15 Sept 2026: 18,607 stars22 Sept 2026: 18,611 stars29 Sept 2026: 18,617 stars6 Oct 2026: 18,619 stars13 Oct 2026: 18,622 stars20 Oct 2026: 18,627 stars27 Oct 2026: 18,628 stars3 Nov 2026: 18,628 stars10 Nov 2026: 18,632 stars

18,520 on 21 Apr 202618,632 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Sanic is a Python 3.10+ web server and framework built on async/await. It ships its own HTTP server, started with `sanic hello.app`, listening on 127.0.0.1:8000 by default, and is also ASGI compliant so it can run under another ASGI server. It has no AI features; it fits the list only as a generic backend for exposing models or agents over HTTP.

Who it is for: Python developers who want an async HTTP backend to put in front of models

Strengths

  • Built-in server and CLI; `pip install sanic` is enough to run an app
  • ASGI compliant, so it can run under alternative ASGI servers
  • Uses uvloop and ujson for speed, each can be disabled via env variable at install
  • MIT licensed, with recent commits and releases

Weaknesses

  • No AI, LLM or model-serving integration; you write all of that yourself
  • Not a starter template: no auth, database or project scaffold included
  • Requires Python 3.10 or newer
  • Smaller ecosystem than FastAPI or Flask for AI backends

What it needs

  • no GPU
  • Docker
  • Needs uvloop, ujson
  • port 8000

What changed

  1. v25.12.1 ↗ (opens in a new tab)Security fix

    “v25 LTS security patch”

  2. v24.12.1 ↗ (opens in a new tab)Security fix

    “v24 LTS security patch by @ahopkins in https://github.com/sanic-org/sanic/pull/3165”

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Also in Backends, databases and hosting

See all 146
Also in Backends, databases and hosting
RankProjectScore
1bunJavaScript and TypeScript runtime with bundler, test runner and package manager96.7k stars+697 (+0.7%) in 30 dayscustom license93 out of 100
2appwriteBackend with auth, databases, storage, functions and an MCP server for agents Live demo ↗ (opens in a new tab)58.1k stars+546 (+0.9%) in 30 daysBSD-3-Clause93 out of 100
3ormTypeScript ORM for PostgreSQL and MongoDB with a plugin SPI and agent skills47.7k starsApache-2.093 out of 100
#4strapiHeadless CMS that generates REST and GraphQL APIs from content models Live demo ↗ (opens in a new tab)73.5k starscustom license92 out of 100
#5traefikHTTP reverse proxy and load balancer that auto-discovers routes from orchestrators65.5k starsMIT92 out of 100