Skip to content

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

License

Notifications You must be signed in to change notification settings

Pier4413/PythonSimpleSettings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

Releases

No releases published

Packages

No packages published