Skip to main content

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for remoteconfig, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size remoteconfig-1.0.2-py3-none-any.whl (3.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size remoteconfig-1.0.2.tar.gz (11.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page