Get configurable values from ETCD
Project description
cashify-python-etcd
Cashify Python Repo to get Key values from ETCD.
Pre-requisite:
- python-etcd library (https://pypi.org/project/python-etcd/)
How to use:
- 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
- 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cashifypythonetcd-0.0.1.tar.gz.
File metadata
- Download URL: cashifypythonetcd-0.0.1.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3b3efa4fb8d43561175dbdec7761d1d7c2ded7edfc362bbb0a5546c23fb342e
|
|
| MD5 |
078f1ab484bbc77b67572968919df8ba
|
|
| BLAKE2b-256 |
536986ec4aaa91f4a63d477c2b6b1b2a925710e7ea18d1b05dc0bb8a489d47fb
|
File details
Details for the file cashifypythonetcd-0.0.1-py3-none-any.whl.
File metadata
- Download URL: cashifypythonetcd-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
092b2c6f8a425130899753206f92a0d7227ecc60ebd6c762671c91f83399b8a4
|
|
| MD5 |
8eb2eb9405779924034d1afa3d1df3e6
|
|
| BLAKE2b-256 |
21b94860b98ec531f32ffde2fb3d1d05440faebb1c2ce93f5851458cc63830cf
|