Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 377 Bytes

File metadata and controls

19 lines (13 loc) · 377 Bytes

gambit-yaml

Read GAMBIT YAML files in Python. Why? GAMBIT YAML files contain lists as YAML keys and an !import keyword, that isn't supported out of the box by Python YAML libraries.

Install

pip install git+https://github.com/GambitBSM/gambit-yaml

Use

import gambit_yaml

with open("gambit_yaml.yaml") as f:
    data = gambit_yaml.load(f)