Doubao Configuration Center Python SDK
Project description
DOUBAO-CONFIG-SDK
豆包配置中心SDK
安装
pip3 install doubao-config-sdk
或者
python3 setup.py install
示例
from doubao_config import Client
# 调用类方法直接设置配置到环境变量(环境变量非全局,仅对调用的应用程序有效)
Client.set_env(<config_host>, <config_username>, <config_password>, <application>, <profile>)
# 实例化配置中心客户端
client = Client(<config_host>, <config_username>, <config_password>)
# 获取配置
client.get_config(<application>, <profile>)
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
File details
Details for the file doubao-config-sdk-1.0.1.tar.gz
.
File metadata
- Download URL: doubao-config-sdk-1.0.1.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb17025450ed5329ff752d86550d939befeb5ab14041d4e5320e7e7f8a7a590f |
|
MD5 | 5c6e5ef9141350b8cf924c7a9de976a3 |
|
BLAKE2b-256 | a142f46e4e4cd869273c9c63c8ec5cfd0b8f0a184808f23147979745c6320795 |