Mercurial > repos > shellac > sam_consensus_v3
diff env/lib/python3.9/site-packages/oyaml-1.0.dist-info/METADATA @ 0:4f3585e2f14b draft default tip
"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
author | shellac |
---|---|
date | Mon, 22 Mar 2021 18:12:50 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/env/lib/python3.9/site-packages/oyaml-1.0.dist-info/METADATA Mon Mar 22 18:12:50 2021 +0000 @@ -0,0 +1,38 @@ +Metadata-Version: 2.1 +Name: oyaml +Version: 1.0 +Summary: Ordered YAML: drop-in replacement for PyYAML which preserves dict ordering +Home-page: https://github.com/wimglenn/oyaml +Author: Wim Glenn +Author-email: hey@wimglenn.com +License: MIT +Platform: UNKNOWN +Requires-Dist: pyyaml + +|travis|_ |coveralls|_ |pypi|_ |womm|_ + +.. |travis| image:: https://img.shields.io/travis/wimglenn/oyaml.svg?branch=master +.. _travis: https://travis-ci.org/wimglenn/oyaml + +.. |coveralls| image:: https://img.shields.io/coveralls/wimglenn/oyaml.svg +.. _coveralls: https://coveralls.io/github/wimglenn/oyaml?branch=master + +.. |pypi| image:: https://img.shields.io/pypi/v/oyaml.svg +.. _pypi: https://pypi.org/project/oyaml + +.. |womm| image:: https://cdn.rawgit.com/nikku/works-on-my-machine/v0.2.0/badge.svg +.. _womm: https://github.com/nikku/works-on-my-machine + + +oyaml +===== + +oyaml is a drop-in replacement for `PyYAML <http://pyyaml.org/wiki/PyYAML>`_ which preserves dict ordering. Both Python 2 and Python 3 are supported. Just ``pip install oyaml``, and import as shown below: + +.. code-block:: python + + import oyaml as yaml + +You'll no longer be annoyed by screwed-up mappings when dumping/loading. + +