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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f32551926d43f8ca41c2c7b54db82b033397f5d3e5013b541802c58e07f32a8f
|
|
| MD5 |
65db6feeeb515cb48ce080c24e4d8199
|
|
| BLAKE2b-256 |
1700654c63f0525cb603e695458a1390293854a5ea47419a329408f74aaa904e
|
File details
Details for the file drf_msgspec_json_renderer-0.2.0-py3-none-any.whl.
File metadata
- Download URL: drf_msgspec_json_renderer-0.2.0-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.10.8 Darwin/20.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22bde08288a9a929e2d5cdd444692077ad47058f45c7d45f73d7e3428ef40988
|
|
| MD5 |
f60b64b4d6920bd008c212c1b344a7f0
|
|
| BLAKE2b-256 |
6c6b5fc55f8c1c243c3e99b949130a3faa5ed5c4d7457e991430469e84557b93
|