Metadata-Version: 1.1
Name: yamlordereddictloader
Version: 0.1.1
Summary: YAML loader for PyYAML that allow to keep keys order.
Home-page: https://github.com/fmenabe/python-yamlordereddictloader
Author: François Ménabé
Author-email: francois.menabe@gmail.com
License: MIT License
Download-URL: https://github.com/fmenabe/python-yamlordereddictloader
Description: This is a loader for PyYAML allowing to keep items order when loading a file. In
        some rare cases, it may be desired to keep the order of items when loading the
        YAML file. For example, this is the case of the ``clg`` module
        (https://pypi.python.org/pypi/clg) that generate a command-line from a
        dictionnary. When a YAML file is used, and in a purely esthetic purpose, it
        could be nice to keep order of the items.
        
        The loader is based on stackoverflow topic:
        http://stackoverflow.com/questions/5121931/in-python-how-can-you-load-yaml-mappings-as-ordereddicts
        
        To install it
        -------------
        
        .. code-block:: bash
        
            $ pip install yamlordereddictload
        
        To use it
        ---------
        
        .. code-block:: python
        
            import yaml
            import yamlordereddictloader
        
            datas = yaml.load(open('myfile.yml'), Loader=yamlordereddictloader.Loader)
        
Keywords: YAML,loader,ordered
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Utilities
