Skip to main content

Reading and writing YAML

Project description

Yaml: Reading and writing YAML

This is a thin layer on top of ruamel.yaml that does YAML I/O with some tricks that I find useful:

  1. It dumps structures with the layout that I like;
  2. It preserves order of keys in mappings when dumping them;
  3. Mappings are returned as objects that allow both attribute- and item-access;
  4. Multiple files can be loaded from a directory, in a single call;
  5. YAML source files can reference others, and merge them automatically, using an !include tag.

Read the documentation at

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release. See tutorial on generating distribution archives.

Built Distribution

rjgtoys_yaml-0.0.2-py3-none-any.whl (5.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page