A simple Configuration Management script for your Python 3 application.
**Use this Class to manage configurations from a single place. **
place the config.ini file in your desired location. Ex: '../config/config.ini'
[SAMPLE_CONFIG]
username=myusername
password=thisismypassword
and initialize
configManager = ConfigManager()
config = configManager.get_configs()
username = config.get('SAMPLE_CONFIG', 'username')
Please register or sign in to comment