Skip to content

Pier4413/PythonSimpleSettings

Repository files navigation

PythonSimpleSettings

This is a simple module to wrap ConfigParser and check if the settings exists

To use it you need to call the get_instance as it's implemented from a singleton

Small example below :

from <submodule>.setting import Settings

Settings.get_instance().loadSettings(<file path or absolute>)
print(Settings.get_instance().get(<section>, <key>, <defaultValue>))

About

This is a simple module to wrap ConfigParser and check if the settings exists

Resources

License

Stars

Watchers

Forks

Packages

No packages published