cashifypythonetcd-0.0.3
توضیحات
Get configurable values from ETCD
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cashifypythonetcd-0.0.3 |
| نام | cashifypythonetcd |
| نسخه کتابخانه | 0.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Saket Agarwal |
| ایمیل نویسنده | saket.a@cashify.in |
| آدرس صفحه اصلی | https://github.com/saket-cashify/cashify-python-etcd |
| آدرس اینترنتی | https://pypi.org/project/cashifypythonetcd/ |
| مجوز | unlicense |
# cashify-python-etcd
Cashify Python Repo to get Key values from ETCD.
Pre-requisite:
1. python-etcd library (https://pypi.org/project/python-etcd/)
How to use:
1. Use steps under if want to use directly from source code
- Install library using pip install git+https://git@github.com/saket-cashify/cashify-python-etcd.git
- Import cashifypythonetcd and init class with parameters "host, protocol, port, app_name"
- Use function "get_property_value" with parameters "key, default" with class instance to get value from ETCD
- If key is not defined in ETCD, we will get the default value back
- add this line to requirements file to install "-e git+https://git@github.com/saket-cashify/cashify-python-etcd.git#egg=cashifypythonetcd" automatically
2. Use these steps to use from PyPi
- pip install cashifypythonetcd
- Import cashifypythonetcd and init class with parameters "host, protocol, port, app_name"
- Use function "get_property_value" with parameters "key, default" with class instance to get value from ETCD
- If key is not defined in ETCD, we will get the default value back
- add cashifypythonetcd==0.0.1 to requirements
نحوه نصب
نصب پکیج whl cashifypythonetcd-0.0.3:
pip install cashifypythonetcd-0.0.3.whl
نصب پکیج tar.gz cashifypythonetcd-0.0.3:
pip install cashifypythonetcd-0.0.3.tar.gz