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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file zq-config-0.1.5.tar.gz.

File metadata

  • Download URL: zq-config-0.1.5.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for zq-config-0.1.5.tar.gz
Algorithm Hash digest
SHA256 219736cc7ed7d7a52476ee6cc48c084c09905400c653cba0ad032cce3a97dacc
MD5 92b9b3b6b879592bf850f5651fe54c70
BLAKE2b-256 988c862caf5e7dfb7b2b2c86131fba40f4c35c461f3d78c862a0aa6ceea7cdcd

See more details on using hashes here.

File details

Details for the file zq_config-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: zq_config-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for zq_config-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f1c4f0a45f5cc84022f02776a42025211d176283db108511aa75dbf613e9414c
MD5 0637b84fddb2f69ad713e85fc0d0df54
BLAKE2b-256 3a849fd4ed538953b3af70520ce04231ea4d0d0ba097fe4d6e830fe6fabe0027

See more details on using hashes here.

Supported by

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