Mercurial > repos > shellac > sam_consensus_v3
comparison 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 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:4f3585e2f14b |
|---|---|
| 1 Metadata-Version: 2.1 | |
| 2 Name: oyaml | |
| 3 Version: 1.0 | |
| 4 Summary: Ordered YAML: drop-in replacement for PyYAML which preserves dict ordering | |
| 5 Home-page: https://github.com/wimglenn/oyaml | |
| 6 Author: Wim Glenn | |
| 7 Author-email: hey@wimglenn.com | |
| 8 License: MIT | |
| 9 Platform: UNKNOWN | |
| 10 Requires-Dist: pyyaml | |
| 11 | |
| 12 |travis|_ |coveralls|_ |pypi|_ |womm|_ | |
| 13 | |
| 14 .. |travis| image:: https://img.shields.io/travis/wimglenn/oyaml.svg?branch=master | |
| 15 .. _travis: https://travis-ci.org/wimglenn/oyaml | |
| 16 | |
| 17 .. |coveralls| image:: https://img.shields.io/coveralls/wimglenn/oyaml.svg | |
| 18 .. _coveralls: https://coveralls.io/github/wimglenn/oyaml?branch=master | |
| 19 | |
| 20 .. |pypi| image:: https://img.shields.io/pypi/v/oyaml.svg | |
| 21 .. _pypi: https://pypi.org/project/oyaml | |
| 22 | |
| 23 .. |womm| image:: https://cdn.rawgit.com/nikku/works-on-my-machine/v0.2.0/badge.svg | |
| 24 .. _womm: https://github.com/nikku/works-on-my-machine | |
| 25 | |
| 26 | |
| 27 oyaml | |
| 28 ===== | |
| 29 | |
| 30 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: | |
| 31 | |
| 32 .. code-block:: python | |
| 33 | |
| 34 import oyaml as yaml | |
| 35 | |
| 36 You'll no longer be annoyed by screwed-up mappings when dumping/loading. | |
| 37 | |
| 38 |
