Skip to main content

No project description provided

Project description

Django Rest Framework msgspec Renderer

Django Rest Framework renderer using msgspec

Installation

pip install drf-msgspec-json-renderer

You can then set the MsgspecJSONRenderer class as your default renderer in your settings.py

REST_FRAMEWORK = {
    'DEFAULT_RENDERER_CLASSES': (
        'drf_msgspec_json.renderers.MsgspecJSONRenderer',
    ),
    ...
}

Also you can set the MsgspecJSONParser class as your default parser in your settings.py

REST_FRAMEWORK = {
    'DEFAULT_PARSER_CLASSES': (
        'drf_msgspec_json.parsers.MsgspecJSONParser',
    ),
    ...
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

drf_msgspec_json_renderer-0.2.0.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file drf_msgspec_json_renderer-0.2.0.tar.gz.

File metadata

  • Download URL: drf_msgspec_json_renderer-0.2.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.8 Darwin/20.1.0

File hashes

Hashes for drf_msgspec_json_renderer-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f32551926d43f8ca41c2c7b54db82b033397f5d3e5013b541802c58e07f32a8f
MD5 65db6feeeb515cb48ce080c24e4d8199
BLAKE2b-256 1700654c63f0525cb603e695458a1390293854a5ea47419a329408f74aaa904e

See more details on using hashes here.

File details

Details for the file drf_msgspec_json_renderer-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for drf_msgspec_json_renderer-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 22bde08288a9a929e2d5cdd444692077ad47058f45c7d45f73d7e3428ef40988
MD5 f60b64b4d6920bd008c212c1b344a7f0
BLAKE2b-256 6c6b5fc55f8c1c243c3e99b949130a3faa5ed5c4d7457e991430469e84557b93

See more details on using hashes here.

Supported by

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