Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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


Release history Release notifications

This version
History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

History Node

0.2.4

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
remoteconfig-1.0.2-py3-none-any.whl (3.8 kB) Copy SHA256 hash SHA256 Wheel py3 Jun 5, 2018
remoteconfig-1.0.2.tar.gz (11.3 kB) Copy SHA256 hash SHA256 Source None Jun 5, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page