Skip to main content

zq-config is wrapper for config centers such as nacos

Project description

zq-config


Introduction

zq-config is wrapper library for config centers, such as nacos, etcd, apollo.

Here is a program to use nacos :

from zq_config import ZQ_Config

SERVER_ADDRESSES = "localhost:8848"
NAMESPACE = "sho-test"
USER_NAME= "nacos"
PASSWORD= "nacos"

zq = ZQ_Config("nacos", server_addresses=SERVER_ADDRESSES, namespace=NAMESPACE, username=USER_NAME, password=PASSWORD)

config = zq.get("config-id", "dev")

print(config)

TODO

  • nacos
  • etcd
  • apollo

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

zq-config-0.1.5.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

zq_config-0.1.5-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

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