Metadata-Version: 2.1
Name: ezconfig-client
Version: 0.2
Summary: ezconfig client
Home-page: https://github.com/riichg5/ezconfig_client
Author: RiichTT
Author-email: tolibo@hotmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests (>=2.22.0)

# EZConfig 客户端程序

## 使用方法

```text
pip install ezconfig-client
```

```python
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
