flask-ujson 1.0.2
pip install flask-ujson==1.0.2
Newer version available (1.0.6)
Released:
Flask with UltraJSON.
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- Author: David Carmichael
- Requires: Python >=3.8
Project description
flask-ujson
Flask with UltraJSON.
from flask import Flask
from flask_ujson import UJSON
ultra_json = UJSON()
def create_app():
app = Flask(__name__)
ultra_json.init_app(app)
@app.route("/")
def index():
"""
Outputs a JSON response using UltraJSON library
https://github.com/ultrajson/ultrajson
"""
return {"hello": "world"}
return app
if __name__ == "__main__":
app = create_app()
app.run(debug=True)
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- Author: David Carmichael
- Requires: Python >=3.8
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
File details
Details for the file flask_ujson-1.0.2.tar.gz
.
File metadata
- Download URL: flask_ujson-1.0.2.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
4e216df5f1ae238e55875ed9a5fe3613add0f48854b7be2e211cfd9f34e0de01
|
|
MD5 |
01e2e21dfd20fbaa98714f14cec0e93f
|
|
BLAKE2b-256 |
127806d980376bc7f5a53e317087b5706b4de480afc34bc0a3599ebec0179369
|
File details
Details for the file flask_ujson-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: flask_ujson-1.0.2-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
486b39e84a3f7954fa77b5e487be44038f3aa8bb115101e7007df31c2fed6df1
|
|
MD5 |
e677de7a1afa32fe2a3642289bcd6371
|
|
BLAKE2b-256 |
480a54619352e9731c684e3e90a6daa2d1e4ed560dfb96fb4bc8b3545453e0ca
|