flask-restful-routing-1.0.3
توضیحات
An easier way to register flask-restful routes
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | flask-restful-routing-1.0.3 |
| نام | flask-restful-routing |
| نسخه کتابخانه | 1.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Nick Whyte |
| ایمیل نویسنده | nick@nickwhyte.com |
| آدرس صفحه اصلی | https://github.com/twopicode/flask-restful-routing |
| آدرس اینترنتی | https://pypi.org/project/flask-restful-routing/ |
| مجوز | - |
flask-restful-routing
============================================
Installation
++++++++++++
pip install marshmallow-sqlalchemy-referential
Sample Usage
++++++++++++
.. code-block:: python
restful_api = Api(app)
resources = RouteRoot([
Route('login', '/login', Login),
Route('search', '/search', Search),
Route('document', '/documents', Documents, Document, [
Route('attachment', '/attachments', Attachments, Attachment)
])
])
resources.register_routes(restful_api)
نحوه نصب
نصب پکیج whl flask-restful-routing-1.0.3:
pip install flask-restful-routing-1.0.3.whl
نصب پکیج tar.gz flask-restful-routing-1.0.3:
pip install flask-restful-routing-1.0.3.tar.gz