Awesome
<!--- ### <beg-file_info> ### document_metadata: ### - caption: "README" ### dmid: "uu151chariot_unveiled" ### date: created="2019-02-26 09:33:48" ### last: lastmod="2019-02-26 09:33:48" ### tags: yaml,github,dreftymac ### desc: | ### ## notes ### * github awesome-yaml ### ### ## awesome community ### * capt="compliance" ;; href="https://github.com/sindresorhus/awesome/blob/main/pull_request_template.md" ;; tags="__tags01__" ;; id="dmid://uu394miskf1638497x03xlink" ### * capt="instructions" ;; href="https://github.com/sindresorhus/awesome/blob/main/create-list.md" ;; tags="__tags01__" ;; id="dmid://uu193jezfl1638497x03xlink" ### ### ## editing notes ### * 2021-12-02 17:57:21 removed dependency on ST3/MarkdownTOC package ### * currently, updates to the contents requires manual update of TOC ### * infra://uu747dorpl ### ### seealso: | ### ## https ### * https://github.com/dreftymac/awesome-yaml/blob/master/README.md ### * https://leebriggs.co.uk/blog/2019/02/07/why-are-we-templating-yaml.html ### ## this ### * blog ;; href="./blog.md" ### * youtube ;; href="./youtube.md" ### ## smartpath ### * fun link ;; href="smartpath://mydaydirs/2019/week39/desktop/screencapture-blog-mozilla-org-nfroyd-2015-09-07-standardizing-things-my-way-2019-09-29-22_18_23-uu788trive8raft.png" ### * href="smartpath://mymedia/2014/git/github/awesome-yaml/readme.md" find="uu151chariot_unveiled" ### ## people ### * https://twitter.com/briggsl ### * https://leebriggs.co.uk/ ### * http://champignon.net/ ### * https://stackoverflow.com/tags/yaml/topusers ### seeinstead: | ### * __seeinstead__ ### <end-file_info> ---> <!--- # other items not yet included ## items * yaml+jinja search ;; https://duckduckgo.com/?q=yaml+jinja+stackoverflow&ia=web * people ;; http://champignon.net/ * https://git.github.io/rev_news/2020/07/29/edition-65/ ## Variable placholders workarounds * https://starkandwayne.com/blog/bashing-your-yaml/ --->YAML awesomeness
<!--- ##id="uu747dorpl1638496" d="TOC" ## --->A curated list of YAML resources. Inspired by the awesome. See also Awesome Yaml (@datatxt)
- awesome-yaml
- Digging in
awesome-yaml
Overview
<!--- id="dmid://uu086bintt1634232x001xlink" --->YAML is a configuration format similar to JSON.
YAML is underrated
- Some developers who use it had a negative first-impression of the format, usually because of the syntax.
- Some dislike the fact that YAML allows the use of indentation for specifying scope (although indentation is technically not required).
- Some consider YAML to be superfluous: "XML and JSON fit the bill nicely enough".
- Some have either never heard of YAML or are influenced by the fact that it is (or at least was) not as famous as JSON or XML.
YAML is a supserset of JSON
- Does JSON support comments? ... NO
- Does JSON support comments? ... YES (if you use YAML)
- To get JSON with comments, just use YAML instead of JSON
- YAML is a superset of JSON
## This is valid YAML syntax
## Try it out now by copy-pasting it into an online YAML parser
## (e.g., http://yaml-online-parser.appspot.com/)
{
"json": [
"fat and rigid"
],
"yaml": [
"skinny and flexible"
],
"object": {
"array": [
{
"null_value": null
},
{
"boolean": true
},
{
"integer": 1
}
]
}
}
Digging in
Advanced
<!--- id="dmid://uu086bintt1634232x002xlink" --->Alternatives
<!--- id="dmid://uu086bintt1634232x003xlink" --->- Alternatives compared
- Alternatives (one-off competing)
- Variants
- Strict YAML uses a subset of the full YAML specification.
Annoyances
<!--- id="dmid://uu086bintt1634232x004xlink" --->- Parsers Consistently bad parsing of YAML
Cloud
<!--- id="dmid://uu086bintt1634232x005xlink" --->Critique
<!--- id="dmid://uu086bintt1634232x006xlink" --->- Blog post -- Blog post
- NBWTWY -- Blog post Nobody wants to write yaml
- YAML sucks -- Github
- YAML test matrix -- Validators
Documentation and resources
<!--- id="dmid://uu086bintt1634232x007xlink" --->GUI
<!--- id="dmid://uu086bintt1634232x008xlink" --->Mentions
<!--- id="dmid://uu086bintt1634232x009xlink" --->- After XML JSON then what?
- blog entry praising YAML over JSON
- drupal convert
- Flextype
- Hacker News
- HackerNews JSON/XML comparison
- kubernetes
- Statamic CMS
NoCode
<!--- id="dmid://uu972zumpg1638495x03xlink" --->- NoCode and LowCode
- Lowdefy - An open-source low-code framework to build internal tools, web apps, admin panels, BI dashboards, workflows, and CRUD apps with ease by simply writing YAML.
Parsers
<!--- id="dmid://uu086bintt1634232x010xlink" --->People
<!--- id="dmid://uu086bintt1634232x011xlink" --->Projects
<!--- id="dmid://uu086bintt1634232x012xlink" --->- ADA YAML with focus on YAML 1.3
- Amazon ALEXA
- ANSIBLE ansible uses YAML
- Code Beautify
- Dynamic YAML -- childish
- Go language golang-specific
- Heat Openstack
- Kubernetes uses YAML
- Python-Related
- Repoze
- Spiff (on-hold as of 2017-08)
- Sublime YAML Macros
- YAML Official
- Yamlinc
- YAMLForm-Drupal8
Security
<!--- id="dmid://uu086bintt1634232x013xlink" --->Specification
<!--- id="dmid://uu086bintt1634232x014xlink" --->Templating
<!--- id="dmid://uu086bintt1634232x015xlink" --->- Ansible-based YAML plus Jinja
- gomplate -- golang templating system that supports YAML
- Ruby-based YAML plus Ruby
- Tempered YAML plus Bash
- Yasha YAML plus Jinja
- Yglu Structural YAML templating and processing
- YST YAML plus Haskell
- ytt YAML Templating Tool. Templating and patching, together. Includes Python-like programming environment.
- Zenbu YAML plus Jinja
Tools
<!--- id="dmid://uu086bintt1634232x016xlink" --->Transformation
<!--- id="dmid://uu086bintt1634232x017xlink" --->- AdaYaml Transforms
- dasel - Query and update data structures using selectors from the command line. Comparable to jq / yq but supports JSON, YAML, TOML and XML with zero runtime dependencies.
- DDG Search
- Online transformation tools
- JMESPath technically a JSON tool, but powerful enough to be relevant here
Variables
<!--- id="dmid://uu086bintt1634232x018xlink" --->Variables (example workarounds)
<!--- id="dmid://uu086bintt1634232x019xlink" --->Validation
<!--- id="dmid://uu086bintt1634232x020xlink" --->- Cerberus validation package for Python
- Copper
- DDG Search
- kube-score
- Kubeval
- learnk8s -- blog post
Tutorial
<!--- id="dmid://uu086bintt1634232x021xlink" --->YAML GISTS
<!--- id="dmid://uu086bintt1634232x022xlink" --->YAML Gems
<!--- id="dmid://uu086bintt1634232x023xlink" --->Searches
<!--- id="dmid://uu086bintt1634232x024xlink" --->See also
Aweseomeness
<!--- id="dmid://uu086bintt1634232x025xlink" --->- Awesome YAML (datatxt)
- Awesome home assistant
- Awesome curated
- Awesome manifesto
- Awesome contributions
- Awesome JSON
- Ansible Jinja addon filters