python-apollo客户端封装
Project description
py_openapi_apollo_client
python-apollo客户端封装
支持的python版本
python3.x
功能点
- 获取apollo中指定namespaceName下的配置数据
- 修改apollo中指定namespaceName下的配置数据
说明
支持鉴权token的传入
安装
pip install py-openapi-apollo-client
二次开发
继承PrivateApolloClient类后,增加自己的方法即可
官方接口文档
使用
from py_openapi_apollo_client.apollo_client import PrivateApolloClient
client = PrivateApolloClient(app_id='test', portal_address='http://test.com', authorization='xxx')
print(client.get_namespace_items_key(key='test.switch'))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for py_openapi_apollo_client-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50ace62819edee10e6fdaad8dc7a27764f383b0014fe681e943bce8fe37a7793 |
|
MD5 | fdf99491267045656626ecbda3277974 |
|
BLAKE2b-256 | c08221d8c0bdd069c3ca62ceffccb88726b1f585a6aab3abe843d38156e19711 |
Close
Hashes for py_openapi_apollo_client-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f35de894a425a273502a2946a0eab7e759f106936f0e3e9ae2f1fac1f2489fbd |
|
MD5 | b2e4e913110ca0a23e71dd52e1328808 |
|
BLAKE2b-256 | f1eb6fc7402ecf2abf467350be71502e20ad88be15b93be9b0b006ebe4e47d3d |