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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
219736cc7ed7d7a52476ee6cc48c084c09905400c653cba0ad032cce3a97dacc
|
|
| MD5 |
92b9b3b6b879592bf850f5651fe54c70
|
|
| BLAKE2b-256 |
988c862caf5e7dfb7b2b2c86131fba40f4c35c461f3d78c862a0aa6ceea7cdcd
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1c4f0a45f5cc84022f02776a42025211d176283db108511aa75dbf613e9414c
|
|
| MD5 |
0637b84fddb2f69ad713e85fc0d0df54
|
|
| BLAKE2b-256 |
3a849fd4ed538953b3af70520ce04231ea4d0d0ba097fe4d6e830fe6fabe0027
|