Size: 895
Comment: words
|
Size: 988
Comment: add salt
|
Deletions are marked like this. | Additions are marked like this. |
Line 10: | Line 10: |
* salt - http://docs.saltstack.com/topics/tutorials/starting_states.html#default-data-yaml |
YAML may be the most human friendly format for structured data invented so far.
YAML examples and usage in notable Python apps
YAML is a feature-overcrept language. Most packages below use its subset.
tmuxp - http://tmuxp.readthedocs.org/en/latest/examples.html
ansible - http://www.ansibleworks.com/docs/YAMLSyntax.html and http://www.ansibleworks.com/docs/playbooks.html#id9
appengine - https://developers.google.com/appengine/docs/python/config/appconfig and http://code.google.com/p/rietveld/source/browse/app.yaml
salt - http://docs.saltstack.com/topics/tutorials/starting_states.html#default-data-yaml
Full YAML parsers
PyYAML - http://pyyaml.org/ - due to complexity of YAML spec, this is the only package that tried to be compliant. It is C-based.
Parsers for YAML subsets
Luckily, you may not need the full YAML spec. These libraries can parse only the sweetest parts of YAML spec that you may reuse in your configs.