Reading, Writing, and Parsing YAML Files

Lab Steps

lock
Reading, Writing and Parsing YAML Files

Ready for the real environment experience?

DifficultyBeginner
Time Limit1h
Students90
Ratings
5/5
starstarstarstarstar

Description

YAML (Yet Another Markup Language) is a format for serializing data in a text file. It is similar to other textual data formats such as JSON and XML. YAML is widely used for storing configuration data for software applications, build systems, and deployment platforms.

Being able to read, write and parse YAML files will help you be more effective when working with modern cloud-based systems and applications.

In this lab, you will create a YAML file, parse the file using the Python scripting language, and learn about the different data structures YAML offers.

Learning Objectives

Upon completion of this beginner level lab, you will be able to:

  • Author a YAML file
  • Parse a YAML file using Python
  • Identify and use different data structures in YAML

Intended Audience

  • Cloud Architects
  • Data Engineers
  • DevOps Engineers
  • Software Engineers

Prerequisites

Familiarity with the Python scripting language will be beneficial but is not required.

The following course and lab can be used to fulfill the prerequisite:

About the Author
Students31054
Labs74
Courses2
Learning paths1

Andrew is a Labs Developer with previous experience in the Internet Service Provider, Audio Streaming, and CryptoCurrency industries. He has also been a DevOps Engineer and enjoys working with CI/CD and Kubernetes.

He holds the Developer - Associate, Sysops Administrator - Associate, and Solutions Architect – Associate AWS certifications.

Covered Topics