.yaml is what you want. Make sure YAML is installed and available to Python by running:
> pip install pyyaml
debian based linux - ubuntu etc etcsudo apt-get install python-yamlorapt-get install python-yaml
sudo apt-get install python-yaml
apt-get install python-yaml