Skip to content

Rhoana/rh_config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#rh_config

A simple configuration system for the Rhoana pipeline.

Basic usage, either maintain a single config file at ~/.rh-config.yaml or define the location of the config file in the RH_CONFIG_FILENAME.yaml environment variable. Put configuration for all of your packages and applications in this file. Access the loaded configuration like this:

import rh_config    
my_default_config = dict(foo="bar")
...
foo = rh_config.config.get("foo", my_default_config.get("foo"))