shyaml
YAML for command line
Decision gist · record as of 2026-08-14
Yes, if you need lightweight YAML querying in shell scripts. The package is stable, has low install friction, and carries no security vulnerabilities. However, the aging maintenance status (last release 2020-12-15) means it is unlikely to gain new features or adapt to future Python versions—install it for established use cases, not as a foundation for new tooling.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with a single runtime dependency (pyyaml).
- The package is aging—last release was 2020-12-15 and the repository shows no recent activity—but remains stable and archived-free, suggesting it is maintained in a minimal-change mode rather than actively developed.
License · maintenance · safety
BSD 3-Clause License (permissive) — BSD 3-Clause License (permissive) places no significant restrictions on use, modification, or distribution in most contexts.
last release 2020-12-15 (2068 days) · last repo commit 2026-01-30 · 767 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,789,233 downloads/mo, #3,558 on PyPI
Alternatives
Verify before relying
pip install shyaml
cat data.yaml | shyaml get-value key.nested.path
cat data.yaml | shyaml get-values sequence.items
cat data.yaml | shyaml keys root_object- Whether the package works reliably with modern Python versions beyond those listed in classifiers (3.7 is the highest listed).
- Current status of libyaml C implementation support and whether it is automatically selected or requires manual configuration.
What it is and what it does
Shyaml is a command-line utility that reads YAML from stdin and exposes its structure and values through shell-friendly commands. It is designed for shell scripts and command pipelines that need to extract or inspect YAML data without writing separate parsing code. The tool supports nested key access using dot notation, type inspection, sequence indexing, and iteration over keys and values with optional null-termination for safe handling of values containing newlines.
The package depends only on pyyaml and provides read-only access to YAML structures. It does not support write operations or all YAML specification subtleties, but handles common use cases like extracting configuration values, iterating over lists, and inspecting document structure. Output can be formatted for shell consumption, including null-terminated variants for robust piping.
Use it for
- Extract configuration values from YAML files in shell scripts without external parsing logic.
- Iterate over YAML sequences or object keys in bash loops with proper null-termination to handle special characters.
- Inspect YAML document structure and data types from the command line for debugging or validation.
- Query nested YAML paths using dot notation in one-liners within CI/CD pipelines or deployment scripts.
- Convert YAML data into shell-friendly formats (newline or null-separated) for further processing with standard Unix tools.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need lightweight YAML querying in shell scripts.
The package is stable, has low install friction, and carries no security vulnerabilities. However, the aging maintenance status (last release 2020-12-15) means it is unlikely to gain new features or adapt to future Python versions—install it for established use cases, not as a foundation for new tooling.
Install
shyaml on PyPI
Before you install
Low install friction with a single runtime dependency (pyyaml). The package is aging—last release was 2020-12-15 and the repository shows no recent activity—but remains stable and archived-free, suggesting it is maintained in a minimal-change mode rather than actively developed.
License in practice
BSD 3-Clause License (permissive) places no significant restrictions on use, modification, or distribution in most contexts.
Quickstart
pip install shyaml
cat data.yaml | shyaml get-value key.nested.path
cat data.yaml | shyaml get-values sequence.items
cat data.yaml | shyaml keys root_object
Verify before relying
- Whether the package works reliably with modern Python versions beyond those listed in classifiers (3.7 is the highest listed).
- Current status of libyaml C implementation support and whether it is automatically selected or requires manual configuration.
Package facts
| License | BSD 3-Clause License permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagepyyaml |
| Maintenance | Aging 2,068 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,789,233 / month, #3,558 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Topic :: Software DevelopmentTopic :: Software Development :: Libraries :: Python Modules |
Evidence: shyaml-0.6.2-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “yaml data extraction cli”
- shyamlCommand-line tool for querying and extracting data from YAML files…
- nietA command-line tool that extracts and transforms data from YAML,…
- acryl-datahubDataHub's ingestion framework and CLI for pulling metadata from 50+…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also niet · ruamel.yaml.clib · PyYAML-ft · yamlcore · yamlpath · PyYAML · bashlex · yq · cantools · tree-sitter-yaml