Differences between revisions 3 and 4
Revision 3 as of 2013-11-13 18:12:21
Size: 988
Editor: techtonik
Comment: add salt
Revision 4 as of 2013-11-13 18:35:01
Size: 1264
Editor: techtonik
Comment: add rsonlite
Deletions are marked like this. Additions are marked like this.
Line 20: Line 20:

Unfortunately, there doesn't seem to be any Python code that parses YAML
subset - pretty much every lib uses PyYAML. But still it worth to list
honorable mentions that may be modified to build mininal parsers:

 * rsolnite - https://pypi.python.org/pypi/rsonlite/0.1.0

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.

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.

Unfortunately, there doesn't seem to be any Python code that parses YAML subset - pretty much every lib uses PyYAML. But still it worth to list honorable mentions that may be modified to build mininal parsers:

YAML (last edited 2021-03-28 17:42:24 by eriky)

Unable to edit the page? See the FrontPage for instructions.