Skip to content

fatelei/pyapollo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyapollo

another apollo python client

Usage

from pyapollo.config import ConfigManager
apollo_host = 'http://localhost:8080'
app_id = 'SampleApp'
namespace = 'application'
config = ConfigManager(apollo_host=apollo_host, app_id=app_id, namespace=namespace)
bar = config.get_from_json("foo")
# if you want enable hot reload config
config.enable_hot_reload()

pyapollo has a file cache, you can specific file_cache_dir to ConfigManager.

About

another apollo python client

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages