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.1.tar.gz
(3.2 kB
view details)
Built Distribution
File details
Details for the file ezconfig-client-0.1.tar.gz
.
File metadata
- Download URL: ezconfig-client-0.1.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef98a374c776b11fd0fe6a4a4af6849649da329d12cc5d036a150031b1746868 |
|
MD5 | 89c430ee852e6b53c2e7084cd7900831 |
|
BLAKE2b-256 | ef3891a7eaf338aa2e0ade02c779d3a25e6e9e953a26c06763a64f93fd3e2f32 |
File details
Details for the file ezconfig_client-0.1-py3-none-any.whl
.
File metadata
- Download URL: ezconfig_client-0.1-py3-none-any.whl
- Upload date:
- Size: 3.7 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 | 2fae9894033f8bda76c0fd3740e9a109867f8dffd69f6d862da34d66e27c401b |
|
MD5 | 4941bfd05d5a48d49ff8c089603e42e4 |
|
BLAKE2b-256 | 1d85aab42780250def787fdae29669abb4b0bf8ea1886a61d0d22fe8cc7c5335 |