A powerful query engine and editing tool for jq filters across multiple formats.
Project details
Stury is a versatile query engine and editing tool designed for jq filters across eleven formats. It features lossless edits, schema checks, and efficient conversions while maintaining the original file structure. With remarkable speed benefits, Stury offers an effective solution for managing data formats, ensuring integrity and compatibility.
stury is an advanced query engine and lossless editing tool designed specifically for jq filters across eleven different data formats. This tool excels in data manipulation and processing, retaining the integrity of the original files while providing powerful query capabilities.
stury edit allows for value replacements while ensuring that the remaining file content, including comments and formatting, remains unchanged. This capability guarantees that diffs only reflect actual edits.check --filter option verifies filters against schema specifications before processing data.Stury supports a wide array of formats, including:
Future developments for stury include:
pystury), Node, Go, and Rust, as well as a WASM build.Detailed documentation is available, covering usage, command-line options, and differences from jq. Examples demonstrate how various data manipulations can be performed with stury:
$ stury --to csv 'select(.country == "NO") | {city, population}' cities.csv
city,population
Oslo,709000
Bergen,286000
With stury, complex queries, seamless editing, and extensive compatibility make managing and transforming data easier and more reliable.
Comments
0Start the conversation
Share the first comment.