{"library":"niet","title":"Niet: YAML, JSON, TOML CLI Tool","description":"Niet is a powerful command-line interface (CLI) tool designed for efficient interaction with YAML, JSON, and TOML data files. It allows users to slice, filter, map, transform, and convert structured data using simple expressions or advanced XPath features directly from the shell. Written in Python, `niet` is actively maintained, with its latest version 3.2.0 released in April 2023.","language":"python","status":"active","last_verified":"Thu Apr 16","install":{"commands":["pip install niet"],"cli":{"name":"niet","version":"niet version: 3.2.0"}},"imports":[],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"echo \"---\\nproject:\\n  meta:\\n    name: my-app\\n  version: 1.0.0\" > config.yaml\nniet config.yaml \"project.meta.name\"\n# Expected output: my-app\n\necho '{\"data\": {\"items\": [{\"id\": 1, \"value\": \"alpha\"}, {\"id\": 2, \"value\": \"beta\"}]}}' > data.json\nniet data.json \"data.items[?id=2].value\"\n# Expected output: beta","lang":"bash","description":"This quickstart demonstrates basic data extraction from YAML and JSON files using `niet`. First, it creates a sample `config.yaml` file and extracts the project name. Then, it creates a `data.json` file and extracts a specific item's value using a filter expression.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}