code-wake-v1rest-store-0.2.1
توضیحات
Code Wake V1 REST API store adapter
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | code-wake-v1rest-store-0.2.1 |
| نام | code-wake-v1rest-store |
| نسخه کتابخانه | 0.2.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Michael Wright |
| ایمیل نویسنده | mjw@methodanalysis.com |
| آدرس صفحه اصلی | https://github.com/mwri/pycodewake-v1rest-store |
| آدرس اینترنتی | https://pypi.org/project/code-wake-v1rest-store/ |
| مجوز | - |
# Python Code Wake V1 REST API store adapter (pycodewake-v1rest-store)
[](https://github.com/mwri/pycodewake-v1rest-store/actions/workflows/test.yml)
[](https://codecov.io/gh/mwri/pycodewake-v1rest-store)
This store adapter provides backing via the V1 REST API for Code Wake. A server
implementing this API may be achieved by using pycodewake-v1wsgi-service (a middleware
you could use to provide the API via a Flask server say, if that suits.
For example:
```python
import code_wake
from code_wake_v1rest_store import V1RestStore
cwproc = code_wake.Process(
app_name="my_app",
app_vsn="1.2.3",
env_name="production",
store=V1RestStore("https://code.wake.server/path/to/api"),
)
```
نیازمندی
| مقدار | نام |
|---|---|
| ~=0.2.0 | code-wake |
| ==2.28.0 | requests |
| ==22.3.0 | black |
| ~=0.3.0 | code-wake-sql14-store |
| ~=0.2.0 | code-wake-v1wsgi-service |
| ==6.2 | coverage |
| ==2.1.2 | flask |
| ==5.10.1 | isort |
| ==0.961 | mypy |
| ==7.0.1 | pytest |
| ==0.1.0 | requests-flask-adapter |
| ==2.28.0 | types-requests |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl code-wake-v1rest-store-0.2.1:
pip install code-wake-v1rest-store-0.2.1.whl
نصب پکیج tar.gz code-wake-v1rest-store-0.2.1:
pip install code-wake-v1rest-store-0.2.1.tar.gz