Metadata-Version: 2.4
Name: formats
Version: 0.1.1
Summary: Support multiple formats with ease
Home-page: https://github.com/redodo/formats
Author: Hidde Bultsma
Author-email: dodo@gododo.co
License: MIT
Keywords: formats,load,dump,parse,compose,convert
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
License-File: LICENSE
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: summary

Formats
=======

|Version| |License|

.. |Version| image:: https://img.shields.io/pypi/v/formats.svg?style=flat
    :target: https://pypi.python.org/pypi/formats
    :alt: Version
.. |License| image:: https://img.shields.io/pypi/l/formats.svg?style=flat
    :target: https://github.com/redodo/formats/blob/master/LICENSE
    :alt: License


Installation via PIP::

    pip install --pre formats


Quick usage overview::

    >>> import formats
    >>> formats.discover()
    >>> text = '''
    ...     awesome_things:
    ...     - dodos
    ...     - pythons
    ... '''
    >>> formats.parse('yaml', text)
    {'awesome_things': ['dodos', 'pythons']}
    >>> formats.convert('yaml', 'json', text)
    '{"awesome_things": ["dodos", "pythons"]}'
