ezconfig client
Project description
EZConfig 客户端程序
使用方法
pip install ezconfig-client
from ezconfig_client import loader
res = loader.get_latest_config()
print(res)
使用前需要设置环境变量
环境变量 | 说明 |
---|---|
EZCONFIG_ENV | 环境变量 |
EZCONFIG_APPID | 应用ID |
EZCONFIG_SECRET | 应用密钥 |
EZCONFIG_HOST | EZConfig服务地址 |
测试参考代码
EZCONFIG_ENV=DEV EZCONFIG_APPID=xxx.xx.xxx EZCONFIG_SECRET=xxxxxxx EZCONFIG_HOST=https://xxxx.xx python test/test.py
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ezconfig-client-0.4.tar.gz
(3.3 kB
view details)
Built Distribution
File details
Details for the file ezconfig-client-0.4.tar.gz
.
File metadata
- Download URL: ezconfig-client-0.4.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b95be662ae26c4face1a8bf7c6ea0cb04e463a575ffb270f4d5446b31f0b85dd |
|
MD5 | 96db8061681e447c865ebf21b6d1006f |
|
BLAKE2b-256 | 3cf76b418115c57e72d935c1bbd4e72feb4fc4aedb40b52593ae55ce66d67805 |
File details
Details for the file ezconfig_client-0.4-py3-none-any.whl
.
File metadata
- Download URL: ezconfig_client-0.4-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 573d23820284a7c061844c4aa25060fd1d594b98d1c2d7e366a1cbf509721822 |
|
MD5 | 2dbb0ce6529eef9b56f5107fa01382d0 |
|
BLAKE2b-256 | 4d0c086f2907107d99875a5bae109784a94eb9fa85078720de997b68f3140cf1 |