No project description provided
Project description
Flask http response
A Flask http custom response
Description
This is a flask http custom reponse made by flask jsonify module.
Dependencies
Flask
Uses
Install it by runing
pip install flask-http-response
Import into your project
from flask_http_response import success, result, error
Use it in your http response
return success.return_response(message='Successfully Completed', status=200)
If you use any type of response without passing parameter into it. No problem it will always return a default message. For result.return_response() you can pass data or object as a message into it.
Project details
Release history Release notifications | RSS feed
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 flask_http_response-0.0.1.0.tar.gz.
File metadata
- Download URL: flask_http_response-0.0.1.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6351fdcfabde8dd0b9998e39eda21b54165a3fb39f672e5d51761a56fac61463
|
|
| MD5 |
f593e0a26d80f049452087b47f6a9340
|
|
| BLAKE2b-256 |
45cde3c5b5cc9e1473945ccbdd63a75a1f22007ea25ca8932092fd6954361bc3
|
File details
Details for the file flask_http_response-0.0.1.0-py3-none-any.whl.
File metadata
- Download URL: flask_http_response-0.0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9172d11715c764f8834aef1086d0321d8559d2747aeb52be67db8af19957032f
|
|
| MD5 |
49ca852ccf73d4a4b2b39c2c287b95b5
|
|
| BLAKE2b-256 |
32a4ce8d7f22ebd469a2b858bdffae32e1002870eecda8609f0006e2b6e45008
|