Ordered YAML: drop-in replacement for PyYAML which preserves dict ordering
oyaml is a drop-in replacement for PyYAML which preserves dict ordering. Both Python 2 and Python 3 are supported. Just pip install oyaml, and import as shown below:
import oyaml as yaml
You’ll no longer be annoyed by screwed-up mappings when dumping/loading.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
oyaml-1.0.tar.gz (2.9 kB view hashes)