方便Python接入配置中心框架 Apollo 所开发的Python版本客户端。 Tested with python 2.7 & 3.6
python setup.py install
client = ApolloClient(app_id=<appId>, cluster=<clusterName>, config_server_url=<configServerUrl>)
client.start()
client.get_value(Key, DefaultValue)
The project is licensed under the Apache 2 license.
Apollo : https://github.com/ctripcorp/apollo