Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 678 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 678 Bytes

Python — YAML Generator

Generate YAML files from rows inside a CSV

Requirements

  • OSX
  • Python

Usage

  1. Create a data.csv file with all the data you wish to add to your yaml files.
  2. Run python generate.py in your terminal.
  3. .yaml files will be generated and saved inside a /yaml folder.

Notes

  • A sample data.csv file has been included for testing.
  • Make sure the first row contains the column headings as this will be used in your yaml.
  • The last cell in your .csv row will be used as the filename and also be included in the yaml data.

Credits

Credits go to hfionte for the original script.