Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for doubao-config-sdk, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size doubao-config-sdk-1.0.1.tar.gz (2.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page