commandline utility to manipulate YAML files
Project description
This package provides the yaml commandline utlity for converting to/from YAML and for manipulating YAML files
Basic usage:
yaml round-trip <file_name> for basic roundtrip testing of YAML files
yaml json <file_name> for conversion of JSON file(s) to a single YAML block style document
yaml ini <file_name> for conversion of an INI/config file (ConfigObj comment and nested sections supported) to a YAML block style document. This requires configobj to be installed (pip install configobj)
yaml from-csv <file_name> for conversion CSV to a YAML file to a a table in an HTML file.
yaml htmltable <file_name> for conversion of the basic structure in a YAML file to a a table in an HTML file. The YAML file:
title: - fruit - legume local: - apple - sprouts import: - orange - broccoli
is converted into the table:
title
fruit
legume
local
apple
sprouts
import
orange
broccoli
See yaml --help for more information on the availble commands
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for ruamel.yaml.cmd-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f83214b5c5911c90fe0a7ad801da1641cf500d7eb64b71e6453b78b3b02f1861 |
|
MD5 | 3f87c746f1e7ea6d15c58d48512f4167 |
|
BLAKE2b-256 | 1d62bd0ef25554a7377a160c48f98934f18b672a3486e20b1fd78019e8eb9abd |