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 http://rjgtoys.readthedocs.org/projects/yaml/

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 details)

Uploaded Python 3

File details

Details for the file rjgtoys_yaml-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: rjgtoys_yaml-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.6

File hashes

Hashes for rjgtoys_yaml-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1fcc3c3cb8346788dc803b1003b0498f65b8b9bb47a6da91b73721c37743df4c
MD5 60c1b766afb843acb94b64f81e68457c
BLAKE2b-256 641ae6b044ff428e99fd8848551a7ede3828b81f8095ce391d3a9668e0fb0c82

See more details on using hashes here.

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