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.

Source Distribution

doubao-config-sdk-1.0.1.tar.gz (2.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page