Skip to main content
Sanic | Build fast. Run fast.

Sanic Extensions

Build

PyTest

Docs

UserGuide

Package

PyPI PyPI version PyPI Wheel Supported implementations Code style black

Support

Forums Discord

Sanic strives to be “Unopinionated and flexible”:

Build the way you want to build without letting your tooling constrain you.

But what happens when you want all the goodies? Sanic Extensions is an officially supported Sanic plugin to provide application developers with additional tools and features.

Features

  • Auto create HEAD, OPTIONS, and TRACE endpoints

  • CORS protection

  • Predefined, endpoint-specific response serializers

  • Argument injection into route handlers

  • OpenAPI documentation with Redoc and/or Swagger

  • Request query arguments and body input validation

Installation

pip install sanic[ext]
# OR
pip install sanic sanic-ext

Getting started

from sanic import Sanic

app = Sanic("MyHelloWorldApp")

Nothing new. Just start using Sanic and it will automatically be extended!

Learn more

Go to the User Guide to learn more


Metadata

Release files for sanic-ext-fork 24.12.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sanic-ext-fork 24.12.0
File Size Uploaded
sanic_ext_fork-24.12.0.tar.gz 66.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sanic-ext-fork 24.12.0
File Interpreter ABI Platform
sanic_ext_fork-24.12.0-py3-none-any.whl Python 3 none any Details

Total release size: 162.9 kB

Release files / sanic_ext_fork-24.12.0.tar.gz

Download URL sanic_ext_fork-24.12.0.tar.gz
Size 66.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3795625b60854ae108822f5bcc39ebd5d7261025e59fb88f286575e062ddbac5
BLAKE2b-256 checksum
How to use checksums
b783c7945f10a284036149e65444b0d6b3056d0e7c2b098f85048aab2a1e999f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / sanic_ext_fork-24.12.0-py3-none-any.whl

Download URL sanic_ext_fork-24.12.0-py3-none-any.whl
Size 96.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dc39cad4745e44485fb367fa3da769d3a678bf750d3f51b22f6ab4a6d953def3
BLAKE2b-256 checksum
How to use checksums
dd1b9a365c3e82fae02192f538bc308ceefa44ef88c5c7d05ebadd1d8206ad17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release history Release notifications | RSS feed

This release

24.12.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page