import hisscl cfg = hisscl.loads('x "y" "z" { a = "b" }') print(cfg['x'][0].labels) # ['y', 'z'] print(cfg['x'][0]['a']) # b