Skip to content

filamoon/pyapollo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyApollo - Python Client for Ctrip's Apollo

License

方便Python接入配置中心框架 Apollo 所开发的Python版本客户端。 Tested with python 2.7 & 3.6

Installation

python setup.py install

Features

  • 实时同步配置
  • 灰度配置

Missing Features

  • 客户端容灾

Usage

  • 启动客户端长连接监听
client = ApolloClient(app_id=<appId>, cluster=<clusterName>, config_server_url=<configServerUrl>)
client.start()
  • 获取Apollo的配置
    client.get_value(Key, DefaultValue)
    

Contribution

License

The project is licensed under the Apache 2 license.

Reference

Apollo : https://github.com/ctripcorp/apollo

About

Python client for Ctrip's Apollo.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages