Skip to content

confluentinc/remoteconfig

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

remoteconfig

A simple wrapper for localconfig that allows for reading config from a remote server

Quick Start Tutorial

To install:

pip install remoteconfig

To read from a remote config:

from remoteconfig import config

config.read('http://url/to/remote-config.ini')

# Or cache the URL content for 60 seconds to avoid excessive download if program is invoked often
# config.read('http://url/to/remote-config.ini', cache_duration=60)
#
# Or instantiate another config instance:
# from remoteconfig import RemoteConfig
# config2 = RemoteConfig('http://url/to/another-config.ini', cache_duration=10)

For everything else that you can do with config, refer to localconfig's documentation

More

About

A simple wrapper for localconfig that allows for reading config from a remote server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%