Automic VaultAutomic Vault

brew

使用 Homebrew, Nix, apt 安装 yamale

查看 yamale 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install yamale

local Homebrew formula metadata

概览

软件包摘要

Schema and validator for YAML

命令和别名

  • yamale

历史

项目历史与用法

Yamale is a Python library and command-line tool for validating YAML files with schemas written in Yamale's own YAML-based schema language. It fills the small but common gap between loose YAML configuration files and heavyweight JSON Schema workflows.

项目历史

23andMe published the Yamale repository in January 2014. The README describes it simply as a schema and validator for YAML, with both CLI and Python API entry points. Its schema format keeps schemas as YAML documents whose leaves are validator expressions such as `str()`, `int()`, includes, recursion, strict-mode controls, and custom validators.

The PyPI history shows public releases beginning in June 2014 and continued maintenance into the 6.x series. Over time the README added Python 3-only requirements, optional ruamel.yaml parsing for YAML 1.2 support, multiprocessing CLI validation, strict-mode controls, and a warning that schemas should come from trusted sources because the schema language is executable enough to be treated as a trust boundary.

采用历史

Yamale adoption is mostly practical: teams with YAML configuration, data files, or repository conventions can add a schema file and run a CLI check in tests or continuous integration. It is attractive when a project wants a readable schema next to YAML data without converting the validation problem to JSON Schema.

使用方式

From the command line, Yamale searches a target path for YAML files and looks nearby or upward for a schema file unless one is specified. From Python, callers build schema and data objects with `yamale.make_schema` and `yamale.make_data`, then call `yamale.validate` and handle validation errors.

Yamale is best suited to project-owned schemas: configuration contracts, fixtures, data drops, and repository policy checks. Its own README cautions against accepting malicious schema definitions from untrusted sources.

为什么软件包爱好者会关心

For package nerds, Yamale is a tidy example of a domain-specific validator that stayed deliberately smaller than JSON Schema. It shows up as both a CLI package and a Python import, useful for making YAML-heavy projects less ambiguous without buying into a larger schema ecosystem.

时间线

  • 2014-01: The public GitHub repository was created under 23andMe.
  • 2014-06: PyPI records the earliest available Yamale release uploads.
  • 2020s: The README documents Python 3.8+, optional ruamel.yaml parsing, CLI multiprocessing, includes, recursion, and strict-mode behavior.
  • 2025: PyPI records the 6.x release line.

Related projects

  • Yamale sits near JSON Schema validators, PyKwalify, Cerberus-style Python validators, and YAML linters, but it keeps its own compact schema expression syntax rather than adopting JSON Schema as the schema language.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 2 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
yamalecli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本6.1.0
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/23andMe/Yamale

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息No cached GitHub release or tag data was available.https://github.com/23andMe/Yamalenone 置信度

安装元数据

软件包元数据

软件包键brew:yamale
版本6.1.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/yamale
主页https://github.com/23andMe/Yamale
仓库https://github.com/23andMe/Yamale
上游文档https://github.com/23andMe/Yamale#readme
许可证MIT
源码归档https://files.pythonhosted.org/packages/da/64/9e5de0e829920b848dcf5fe3ff64936d83cc7471babd264588b08bca97e0/yamale-6.1.0.tar.gz
依赖libyaml, python@3.14
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameyamale
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

python3-yamale 6.0.0.1-1

schema and validator for YAML

https://github.com/23andMe/Yamale

sudo apt install python3-yamale
  • Section: python
  • Architecture: all
  • Source Package: yamale
  • 3 依赖
  • normalized package name match
  • 匹配方式:Yamale
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-yamale from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

yamale

nix profile install nixpkgs#yamale
  • normalized package name match
  • 匹配方式:Yamale
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: yamale from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment