gomplate
jello
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gomplate
-
Show HN: gq – like jq or zq, but you use Go
this tool may interest the same audience: https://github.com/hairyhenderson/gomplate
I find it especially handy for poc-ing helm snippets, although regrettably they don't have the same "standard library" of functions
-
Building Rich CLI Applications with Go's Built-in Templating
I'm surprised nobody mentioned https://gomplate.ca/ yet. It's a great CLI tool built on top of Go's built-in templating with many features, including one template to many outputs using a separate data source. See this blog post from the author: https://blog.hairyhenderson.ca/post/one\_template\_many\_outputs/
-
Show HN: Stamp turns a folder into a plain text file and a file into a folder
Cookiecutter is nice but it requires an entire python install to run, which is a big thing to ask for some of the scenarios mentioned by the tool creator (like someone going through a simple learning tutorial which might not even be using python at all).
IMHO gomplate is a nicer alternative that's just a single static go-based tool that can do everything cookiecutter does and a lot more: https://github.com/hairyhenderson/gomplate
jello
-
jq 1.7 Released
Jello let’s you use python syntax with dot notation without the stdin/stdout/json.loads boilerplate.
https://github.com/kellyjonbrazil/jello
- the case for bash
-
Simple Apache Log Parser
Yep, you can create a filter in jq to do that. Alternatively, if you prefer Python syntax you could try jello, which works like jq but is really Python under the hood. (I am also the author of jello)
- I'm developing a new command line tool for querying and transforming JSON files , called ~Q (pronounced "unquery"). My design goal is to create a tool that is powerful yet easy to use (aim to be more intuitive for users than existing tools such as jq). Let me know your thoughts and suggestions.
-
An introduction to the magic of jq - Understanding the basics of jq with a realistic example
I'm no expert in any of these tools, but here are some yamlpath and jello examples to match:
-
Show HN: gq – like jq or zq, but you use Go
Similar in concept to jello[0] which works like jq but uses python syntax.
[0] https://github.com/kellyjonbrazil/jello
- Parsing Complex JSON
-
Searching for a value in json with jq
jello:
-
Anyone have a resource to filter out information from complex json outputs? In the example, I am trying to get the "state": "succeeded" information for each entry in the resource array.
Or, if you prefer python list comprehension syntax, you could use Jello:
- Ask HN: Local Tools for Viewing JSON
What are some alternatives?
go-rosbag - Rosbag parser written in pure Go
jellex - TUI to filter JSON and JSON Lines data with Python syntax
remco - remco is a lightweight configuration management tool
dasel - Select, put and delete data from JSON, TOML, YAML, XML and CSV files with a single tool. Supports conversion between formats and can be used as a Go package.
sqlTemplate - Template engine for writing dynamic SQL queries
jc - CLI tool and python library that converts the output of popular command-line tools, file-types, and common strings to JSON, YAML, or Dictionaries. This allows piping of output to tools like jq and simplifying automation scripts.
motllo - Project templates without needing a repository
jq - Command-line JSON processor [Moved to: https://github.com/jqlang/jq]
gotemplate - A small highly opinionated Go template.
jsonslicer - Stream JSON parser for Python
renderizer - CLI to render Go template text files based on command line parameters and/or a YAML
jmespath.py - JMESPath is a query language for JSON.