Contents

sanic 24.6.0

0

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

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

Stars: 18039, Watchers: 18039, Forks: 1546, Open Issues: 126

The sanic-org/sanic repo was created 8 years ago and the last code push was 2 months ago.
The project is extremely popular with a mindblowing 18039 github stars!

How to Install sanic

You can install sanic using pip

pip install sanic

or add it to a project with poetry

poetry add sanic

Package Details

Author
Sanic Community
License
MIT
Homepage
http://github.com/sanic-org/sanic/
PyPi:
https://pypi.org/project/sanic/
GitHub Repo:
https://github.com/sanic-org/sanic

Classifiers

No  sanic  pypi packages just yet.

Errors

A list of common sanic errors.

Code Examples

Here are some sanic code examples and snippets.

GitHub Issues

The sanic package has 126 open issues on GitHub

  • Uvicorn ignores listeners errors
  • Fix "DeprecationWarning: There is no current event loop"
  • fix: replace distutils.strtobool() with locally implemented version
  • distutils.strtobool deprecation
  • remove overlapping slots from app.Sanic, fix broken slots inherit of HTTPResponse
  • fix(tasks): newly assigned None in registry
  • HTTP/3 Startup
  • HTTP/3 Support
  • Fixing typing for ListenerMixin.listener
  • Wrong typing for app.listener decorator
  • remove error_logger on websockets
  • Websocket logger uses sanic.log.error_logger
  • Exception processing in tasks
  • Graceful shutdown of signal handlers
  • Update websockets dependency for security remediation

See more issues on GitHub

Related Packages & Articles

fastapi 0.115.0

FastAPI framework, high performance, easy to learn, fast to code, ready for production

Django 5.1.2

Django is a high-level web development framework that empowers Python developers to build dynamic and robust web applications quickly and efficiently. It follows the Model-View-Controller (MVC) architectural pattern, making it easy to separate the different components of an application. With its extensive built-in features, such as URL routing, templating, forms handling, and database abstraction, Django takes care of the repetitive tasks, allowing developers to focus on writing clean and maintainable code. It relies on the Python Standard Library and includes several optional dependencies, including psycopg2, mysqlclient, and pytz for database connectivity and time zone support. Django's rich ecosystem and active community make it a popular choice for building scalable and secure web applications.

Flask 3.0.3

A simple framework for building complex web applications.

sniffio 1.3.1

Sniff out which async library your code is running under

Flask-AppBuilder 4.5.1

Simple and rapid application development framework, built on top of Flask. includes detailed security, auto CRUD generation for your models, google charts and much more.