Skip to main content

A simple json configuration handler.

Project description


A simple configuration handler that reads a JSON config file and provides methods to interact with it.

Was it really necessary to make a package for such a simple thing? Maybe not, but I like the DRYness of it, since almost every app will need a configuration reader.


Load a configuration file:

>>> from Aratrum import Aratrum
>>> config = Aratrum('config.json')
>>> options = config.get()
>>> print(type(options))

Set a value in the config and save it:

>>> config = Atratrum('config.json')
>>> config.get()
>>> config.config['server'] = 'somewhere'

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 aratrum, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size aratrum-0.1.0-py3-none-any.whl (3.7 kB) File type Wheel Python version 3.5 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page