Object based representation of a YAML file
imagine you got an yaml file with following content:
database:
host: localhost
user: dba
passwd: secret
dblist:
- users
- emails
Accessing the dblist would look like this:
import YamlObject
obj = YamlObject.YamlObject.load("test.yaml")
dblist = obj.database.dblist