Skip to main content

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

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fastapi_msgspec-0.1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

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

Hashes for fastapi_msgspec-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ba177f9cd9d05799cc1afe94e0fe73def06d93fcd38df5a91c91d8ad8bd1bb17
MD5 7c1b6a2915de5313b43473bedb72ad20
BLAKE2b-256 d79949387da093b60599efe6d4afac3c5fe9ec14c4471e11edf5c3770213793b

See more details on using hashes here.

File details

Details for the file fastapi_msgspec-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fastapi_msgspec-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 84b63ad7b82fe6696b25a77f547568d2081f4bbe798355668d98f1aee304b13f
MD5 4a32bbf70d80086efbdb9d8029e4ceaf
BLAKE2b-256 5ae08858c08cc92bf80551228ba319ba04862809e31eb725ad7b4af46b2ac46f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page