flask-http-response-0.0.1.0
توضیحات
-
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | flask-http-response-0.0.1.0 |
| نام | flask-http-response |
| نسخه کتابخانه | 0.0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Raisul Islam |
| ایمیل نویسنده | raisulru10@gmail.com |
| آدرس صفحه اصلی | https://github.com/raisulru/flask-http-response.git |
| آدرس اینترنتی | https://pypi.org/project/flask-http-response/ |
| مجوز | License :: OSI Approved :: MIT License |
# 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.
نیازمندی
| مقدار | نام |
|---|---|
| - | flask |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl flask-http-response-0.0.1.0:
pip install flask-http-response-0.0.1.0.whl
نصب پکیج tar.gz flask-http-response-0.0.1.0:
pip install flask-http-response-0.0.1.0.tar.gz