Skip to content
This repository has been archived by the owner on Oct 12, 2019. It is now read-only.

dreftymac/dynamic.yaml

Repository files navigation

⛔ [DEPRECATED]

dynamic.yaml

YAML-based data transformations - live demo on blockspring.

Overview

DynamicYaml is a general-purpose, fully-extensible transformation engine for YAML.

The design philosophy of this project:

  • enhance YAML by adding the best features from string template tools
    • (currently using python/yaml and python/jinja2)
  • support for advanced features and an unlimited range of outputs
  • easy extensibility and plugin support

Live demo (blockspring.com)

Try it now with blockspring.

  • Step: save the following to a text file on your machine (e.g., helloworld.yaml)
dataroot:
  event:
    overview:   Welcome to dynamic yaml!
    date:       20150716.1732
    desc:       A simple introduction to dynamic yaml.

  people:
    - fullname:     Bregiono Buckridge
      email:        bregiono@gmail.com
      id:           1
      url:          https://example.com/bregiono
      regioncc:     region001

    - fullname:     Antonina Daugherty
      email:        antonina@gmail.com
      id:           1
      url:          https://example.com/antonina
      regioncc:     region001

    - fullname:     Preston Boyer
      email:        preston@gmail.com
      id:           3
      url:          https://example.com/preston
      regioncc:     region002

__yaml__:
  - template: |
      {{ dataroot |jjdata_formatas('jsonpretty') }}
  • Step: Upload the file to blockspring and choose "Run"

  • Step: Use the data transformation results for anything you want. All done!

See also

About

DEPRECATED: YAML-based data transformations

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages