Closed brettlangdon closed 10 years ago
this is the basic code to load configuration settings for knackered.
[db] host=127.0.0.1 port=3306 name=knackered [api] access_key=some_key
from knackered.settings import Settings config = Settings("config.ini") config.db.host config.db.port config.db.name config.api.acccess_key
this is the basic code to load configuration settings for knackered.
Example Usage