Archived documentation version rendered and hosted by DevNetExpertTraining.com

Navigation

  • index
  • next |
  • Python YAML package documentation »
  • ruamel.yaml

version: 0.1 output: rst fix_inline_single_backquotes: true pdf: false — !comment | Sections, subsections, etc. in .ryd files

# with overline, for parts * with overline, for chapters =, for sections +, for subsections ^, for subsubsections “, for paragraphs

don’t use - or . as — or … interfere with ryd

— |

ruamel.yaml¶

SoureForge | PyPI

Contents:

  • Optional requirements
  • Dumping Python classes
  • Indentation of block sequences
    • Inconsistently indented YAML
  • Positioning ‘:’ in top level mappings, prefixing ‘:’
    • Document version support
    • Round trip including comments
    • Config file formats
    • Extending
    • Smartening
  • Output of dump() as a string
  • Loading
    • Duplicate keys
  • Dumping a multi-documents YAML stream
  • Dumping
    • Controls
  • Transparent usage of new and old API
  • — |
  • Reason for API change
  • Defaulting to YAML 1.2 support
  • PY2/PY3 reintegration
  • Fixes
  • Testing
  • API
  • Documentation
  • Code
    • Flake
    • Tox/pytest
    • Typing/mypy
  • Generated files
  • Vulnerabilities
https://readthedocs.org/projects/yaml/badge/?version=stable https://bestpractices.coreinfrastructure.org/projects/1128/badge https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree/_doc/_static/license.svg?format=raw https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree/_doc/_static/pypi.svg?format=raw https://sourceforge.net/p/oitnb/code/ci/default/tree/_doc/_static/oitnb.svg?format=raw http://www.mypy-lang.org/static/mypy_badge.svg

Next topic

<no title>

This Page

  • Show Source

Quick search

Navigation

  • index
  • next |
  • Python YAML package documentation »
  • ruamel.yaml
© Copyright 2017-2021, Anthon van der Neut, Ruamel bvba. Created using Sphinx 3.5.4.