Metadata-Version: 2.4
Name: 5bb-yaml
Version: 4.45.1
Summary: yamlquery – a portable command-line YAML, JSON, XML, CSV, TOML and properties processor, packaged for easy installation via pip/uv
Project-URL: Homepage, https://github.com/5-bare-bones/toolbox__monorepo
Project-URL: Source, https://github.com/mikefarah/yq
License: MIT
Keywords: cli,jq,json,yaml,yq
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Text Processing :: Markup
Classifier: Topic :: Utilities
Requires-Python: >=3.11
Requires-Dist: rich>=13
Provides-Extra: dev
Requires-Dist: pytest; extra == 'dev'
Description-Content-Type: text/markdown

# 5bb-yaml

> **yq** – a portable command-line YAML, JSON, XML, CSV, TOML and properties processor (like jq, but for YAML), distributed via PyPI/uv.

This package downloads and installs the [`yq`](https://github.com/mikefarah/yq) binary for your platform on first use. No compilation required.

## Installation

```bash
uv tool install 5bb-yaml
# or
pip install 5bb-yaml
```

## Usage

```bash
yq '.name' config.yml
yq -i '.version = "1.0.0"' pyproject.yml
```

The binary is downloaded from the official GitHub releases on first run and cached in `~/.cache/5bb-yaml/`.

## Configuration

Set `BB_CACHE_DIR` to override the cache location:

```bash
BB_CACHE_DIR=/opt/tools yq '.name' config.yml
```

## License

MIT – see the [LICENSE](../../LICENSE) file for details.
