A Flask JSON provider using the fast orjson library.
Project description
flask-orjson
A Flask JSON provider using the fast orjson library. Using this provider will significantly speed up reading JSON data in requests and generating JSON responses.
Example
from flask import Flask
from flask_orjson import OrjsonProvider
app = Flask(__name__)
app.json = OrjsonProvider(app)
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
flask_orjson-2.0.0.tar.gz
(3.0 kB
view details)
Built Distribution
File details
Details for the file flask_orjson-2.0.0.tar.gz
.
File metadata
- Download URL: flask_orjson-2.0.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6df6631437f9bc52cf9821735f896efa5583b5f80712f7d29d9ef69a79986a9c |
|
MD5 | ce22315ae8f8bb9bbfc6e826d07460ec |
|
BLAKE2b-256 | a349575796f6ddca171d82dbb12762e33166c8b8f8616c946f0a6dfbb9bc3cd6 |
File details
Details for the file flask_orjson-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: flask_orjson-2.0.0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d15f2ba94b8d6c02aee88fc156045016e83db9eda2c30545fabd640aebaec9d |
|
MD5 | 4cc8c94f03da0bafa77ed89b0a6ff2e9 |
|
BLAKE2b-256 | f3ca53e14be018a2284acf799830e8cd8e0b263c0fd3dff1ad7b35f8417e7067 |