a client for apollo
Project description
apollo 常用工具包 用于python项目连接携程apollo For python project to get configuration from ctrip apollo
使用方式 / usage: client = ApolloClient(app_id=’bruce_test’, config_server_url=’http://106.12.25.204:8080’) client.start()
a = client.get_value(‘a’)
提供自动热更新,可以在初始化ApolloClient时,设置更新的频率,默认5分钟更新 提供本地配置缓存以及服务异常监听 Automatic update is provided. When the Apollo client is initialized, the update frequency can be set. The default is 5 minutes Provide local configuration cache and service exception monitoring
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
apollo-client-0.8.1.tar.gz
(4.9 kB
view details)
Built Distribution
File details
Details for the file apollo-client-0.8.1.tar.gz
.
File metadata
- Download URL: apollo-client-0.8.1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 740ad8ff03d77a219c85295019d01f04517479b6024e6785edf27ba42cfdb2c9 |
|
MD5 | b19d035544f470c3d90884cf490645e7 |
|
BLAKE2b-256 | f407b5c398df96150760bd2b397697e7a39570617ac76e3171c0550428b06890 |
File details
Details for the file apollo_client-0.8.1-py3.7.egg
.
File metadata
- Download URL: apollo_client-0.8.1-py3.7.egg
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb41b799eddc6c1f3734b94ad18e3d193943352dd3bdbfc51571e52a9d7562e6 |
|
MD5 | 3bb6a31d6a46c5f1a5e9843563827833 |
|
BLAKE2b-256 | 5736a8b4f84d71ca0475df3140aa6229e787554a72579f90d1959fe924aa318a |