A simple wrapper for localconfig that allows for reading config from a remote server
Project description
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
Documentation: http://remoteconfig.readthedocs.org
PyPI Package: https://pypi.python.org/pypi/remoteconfig
GitHub Source: https://github.com/maxzheng/remoteconfig
Report Issues/Bugs: https://github.com/maxzheng/remoteconfig/issues
Connect: https://www.linkedin.com/in/maxzheng
Contact: maxzheng.os @t gmail.com
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
remoteconfig-1.0.2.tar.gz
(11.3 kB
view details)
Built Distribution
File details
Details for the file remoteconfig-1.0.2.tar.gz
.
File metadata
- Download URL: remoteconfig-1.0.2.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfcf2e5f5f1d6f35b8351eb994a8fcb87595dbc385d018a575b377a63eac9b4b |
|
MD5 | c14dbe2e551aa1b409752c47d491d090 |
|
BLAKE2b-256 | fd9671045e8dbf17a4b06fdfad8f10b422f5cde1d241724374027859f6cc7be7 |
File details
Details for the file remoteconfig-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: remoteconfig-1.0.2-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c73e7238b8c8d9c4da907260f3833c00d8e1ee668f669692395bb73753d24433 |
|
MD5 | e534a37e3ace5ddba2428fe73e5f7658 |
|
BLAKE2b-256 | fbdb08c1a0b28adc664ba640cb73282405318a01b6060d7c535669d70d99eed9 |