Public
Authored by Asiri Hewage 💬

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')
Config.py 590 Bytes
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment