Sanic Extensions
Build |
|
|---|---|
Docs |
|
Package |
|
Support |
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 25.12.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sanic_ext-25.12.0.tar.gz | 48.6 kB | Without provenance | Details for sanic_ext-25.12.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sanic_ext-25.12.0-py3-none-any.whl | Python 3 | none | any | Details for sanic_ext-25.12.0-py3-none-any.whl |
Total release size: 111.9 kB
Release files / sanic_ext-25.12.0.tar.gz
| Download URL | sanic_ext-25.12.0.tar.gz |
|---|---|
| Size | 48.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
db6f5c8b880bb6b4cb73717b655b63aea4e77cf57825678ec74310fd69581ce1
|
|
BLAKE2b-256 checksum How to use checksums |
e55c85d5d82eccd8df3fb2fc4b8a3209b3c3a8149875130b4106eb0167f6a0cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / sanic_ext-25.12.0-py3-none-any.whl
| Download URL | sanic_ext-25.12.0-py3-none-any.whl |
|---|---|
| Size | 63.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4bf9afcb28c7abbc4bcac489cf4b6d53f12fa49ea4777200ea7d7d6d23ffe8ca
|
|
BLAKE2b-256 checksum How to use checksums |
e174c885d8744ecda12aff8211cf491f7214933c8667a815d0fe779d09744e1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for sanic-ext 25.12.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.