FastAPI msgspec integration
Project description
fastapi-msgspec
msgspec integration for FastAPI
Installation
pip install fastapi-msgspec
Usage
from fastapi import FastAPI
from fastapi_msgspec.responses import MsgSpecJSONResponse
from fastapi_msgspec.routing import MsgSpecRoute
app = FastAPI(default_response_class=MsgSpecJSONResponse)
app.router.route_class = MsgSpecRoute
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fastapi_msgspec-0.1.0.tar.gz
(6.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fastapi_msgspec-0.1.0.tar.gz.
File metadata
- Download URL: fastapi_msgspec-0.1.0.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba177f9cd9d05799cc1afe94e0fe73def06d93fcd38df5a91c91d8ad8bd1bb17
|
|
| MD5 |
7c1b6a2915de5313b43473bedb72ad20
|
|
| BLAKE2b-256 |
d79949387da093b60599efe6d4afac3c5fe9ec14c4471e11edf5c3770213793b
|
File details
Details for the file fastapi_msgspec-0.1.0-py3-none-any.whl.
File metadata
- Download URL: fastapi_msgspec-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84b63ad7b82fe6696b25a77f547568d2081f4bbe798355668d98f1aee304b13f
|
|
| MD5 |
4a32bbf70d80086efbdb9d8029e4ceaf
|
|
| BLAKE2b-256 |
5ae08858c08cc92bf80551228ba319ba04862809e31eb725ad7b4af46b2ac46f
|