bottlecors-0.34


توضیحات

-
ویژگی مقدار
سیستم عامل -
نام فایل bottlecors-0.34
نام bottlecors
نسخه کتابخانه 0.34
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Arjoonn Sharma
ایمیل نویسنده -
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/bottlecors/
مجوز -
BottleCors =========== `pip install bottlecors` and then ```python from bottle import Bottle from bottlecors import add_cors, abort app = Bottle() @app.get('/') def home(): "This just shows 404 always" abort(404, 'msg') # Cors needs to be added after # all routes have been added to your app app = add_cors(app) ``` Features -------- - Full blown cors - Sends docstring of function in options body - Adds only for routes which have already been added


نیازمندی

مقدار نام
- bottle


زبان مورد نیاز

مقدار نام
>=3.6 Python


نحوه نصب


نصب پکیج whl bottlecors-0.34:

    pip install bottlecors-0.34.whl


نصب پکیج tar.gz bottlecors-0.34:

    pip install bottlecors-0.34.tar.gz