Indexed by TopGit from live GitHub metadata: sanic-org/sanic has 18.6k stars, written primarily in Python. Accelerate your web app development | Build fast. Run fast.
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
Sanic is a Python 3.10+ web server and web framework that's written to go fast. It allows the usage of the async/await syntax added in Python 3.5, which makes your code non-blocking and speedy.
Sanic is also ASGI compliant, so you can deploy it with an alternative ASGI webserver <https://sanicframework.org/en/guide/deployment/running.html#asgi>_.
Source code on GitHub <https://github.com/sanic-org/sanic/>_ | Help and discussion board <https://community.sanicframework.org/>_ | User Guide <https://sanicframework.org>_ | Chat on Discord <https://discord.gg/FARQzAEMAA>_
The project is maintained by the community, for the community. Contributions are welcome!
The goal of the project is to provide a simple way to get up and running a highly performant HTTP server that is easy to build, to expand, and ultimately to scale.
Sponsor
Check out open collective <https://opencollective.com/sanic-org>_ to learn more about helping to fund Sanic.
Installation
pip install sanic
Sanic makes use of ``uvloop`` and ``ujson`` to help with performance. If you do not want to use those packages, simply add an environmental variable ``SANIC_NO_UVLOOP=true`` or ``SANIC_NO_UJSON=true`` at install time.
.. code:: shell
$ export SANIC_NO_UVLOOP=true
$ export SANIC_NO_UJSON=true
$ pip install --no-binary :all: sanic
.. note::
If you are running on a clean install of Fedora 28 or above, please make sure you have the redhat-rpm-config package installed in case if you want to
use sanic with ujson dependency.
Hello World Example
.. code:: python
from sanic import Sanic
from sanic.response import json
app = Sanic("my-hello-world-app")
@app.route('/')
async def test(request):
return json({'hello': 'world'})
Sanic can now be easily run from CLI using sanic hello.app.
User Guide, Changelog, and API Documentation can be found at sanic.dev <https://sanic.dev>__.
Questions and Discussion
Ask a question or join the conversation <https://community.sanicframework.org/>__.
Contribution
We are always happy to have new contributions. We have marked issues good for anyone looking to get started <https://github.com/sanic-org/sanic/issues?q=is%3Aopen+is%3Aissue+label%3Abeginner>, and welcome questions on the forums <https://community.sanicframework.org/>. Please take a look at our Contribution guidelines <https://github.com/sanic-org/sanic/blob/master/CONTRIBUTING.md>_.
How does sanic-org/sanic compare to other Developer Tools projects?
sanic-org/sanic is tracked by TopGit in the Developer Tools category, with 18.6k GitHub stars and written in Python. Browse the Developer Tools topic page on TopGit to compare it against similar projects by stars and activity.
Is sanic-org/sanic open source?
Yes — sanic-org/sanic ships under the MIT license, which makes its source code freely readable (and, depending on license terms, forkable and reusable). Source: github.com/sanic-org/sanic.
What else is in the Developer Tools space?
sanic-org/sanic is tracked by TopGit under the Developer Tools category, alongside 9 GitHub-tagged topics. Trending and Topics pages list peer repositories of comparable stars and language.
What is sanic-org/sanic?
sanic-org/sanic (sanic-org/sanic) is a Python project on GitHub. From the project's own README: Accelerate your web app development | Build fast. Run fast.
Where do I read more about sanic-org/sanic?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/sanic-org/sanic is the definitive source.
Why is sanic-org/sanic categorized under Developer Tools?
TopGit places sanic-org/sanic in the Developer Tools category based on its GitHub topics and description (tagged: "api-server", "asgi", "asyncio"). Categories are assigned from real repository metadata, not editorial guesswork.
Read full README in the tab above.
Want a second opinion on sanic?
Ask an AI that can read this page — one click and you get its take on sanic.