Metadata-Version: 2.1
Name: syml
Version: 0.4
Summary: SYML (Simple YAML-like Markup Language) is a simple markup language with similar structure to YAML, but without all the gewgaws and folderol.
Home-page: https://github.com/eykd/syml
Author: David Eyk
Author-email: david@worldsenoughstudios.com
License: MIT
Keywords: yaml,markup,syml
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3.5
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Text Processing :: Markup
License-File: LICENSE

----
SYML
----

SYML (Simple YAML-like Markup Language) is a simple markup language with
similar structure to YAML, but without all the gewgaws and folderol.

.. image:: https://travis-ci.org/eykd/syml.svg?branch=master
    :target: https://travis-ci.org/eykd/syml

.. image:: https://coveralls.io/repos/github/eykd/syml/badge.svg?branch=master
    :target: https://coveralls.io/github/eykd/syml?branch=master


Example
=======

Here's a simple SYML document::

  >>> document = """
  foo:
    - bar
    - baz
    - blah
      boo
      baloon

  booleans?:
    - True
    - False
    - true
    - false
    - TRUE
    - FALSE
  """

And the resulting data structure::

  >>> import syml
  >>> syml.loads(document)
  OrderedDict([('foo', ['bar', 'baz', 'blah\nboo']),
               ('booleans?', ['True', 'False', 'true', 'false', 'TRUE', 'FALSE'])])


All values in SYML are just plain ol' text. But let's face it, sometimes you
really do want YAML-like booleans::

  >>> import syml
  >>> syml.loads(document, booleans=True)
  OrderedDict([('foo', ['bar', 'baz', 'blah\nboo']),
               ('booleans?', [True, False, True, False, True, False])])


