# 使用 Homebrew, MacPorts, Nix, apt 安装 glom

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

## 安装

```sh
sudo av install brew:glom
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install glom
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install glom
```

  证据: MacPorts ports tree: gnome/glom/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#glom
```

  证据: nixpkgs package indexes: pkgs/by-name/gl/glom/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- Ubuntu apt (92%):

```sh
sudo apt install glom
```

  证据: Ubuntu 24.04 LTS package indexes: glom from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

## 软件包事实

- **软件包键:** brew:glom
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/glom>
- **版本:** 25.12.0
- **来源摘要:** Declarative object transformer and formatter, for conglomerating nested data
- **主页:** <https://glom.readthedocs.io/en/latest/>
- **上游文档:** <https://glom.readthedocs.io/en/latest>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://files.pythonhosted.org/packages/78/74/8387f95565ba7c30cd152a585b275ebb9a834d1d32782425c5d2fe0a102c/glom-25.12.0.tar.gz>
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- glom (cli)
- glom (别名)

## 依赖

- python@3.14

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 25.12.0
- 本地数据: OK
- 上游仓库: https://glom.readthedocs.io/en/latest/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

glom is a Python library and CLI for declarative access, transformation, validation, and restructuring of nested data.

### 项目历史

Mahmoud Hashemi released glom publicly in 2018, with the README pointing to an original announcement post and a PyCon 2018 lightning talk from the same launch period. The project adopted CalVer-style releases and documents its growth in a changelog focused on backwards compatibility.

### 采用历史

glom found a place in Python data plumbing where nested dictionaries, JSON responses, ORM objects, and mixed object/list structures make direct indexing brittle. Its Read the Docs site, PyPI package, command-line interface, and distribution through package managers made it usable both as a library and as a shell inspection tool.

### 使用方式

Practitioners use glom specs to pull values out of nested data, transform structures, validate shapes with Match, mutate data with Assign and Delete, stream through Iter, and inspect JSON or TOML at the command line.

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

glom matters to package nerds because it is a Python library that also ships a useful executable. Installing the package gives both importable APIs and a data-transformation CLI, so package managers expose a small but practical bridge between Python code and shell workflows.

### 时间线

- 2018: v18.0.0 public release shipped with tutorial and error-system work.
- 2020: v20.7.0 added Match mode, validation, and a documentation refactor.
- 2022: v22.1.0 introduced optional star and recursive-star path expansion.
- 2023: v23.5.0 added TOML support to the CLI.
- 2024: v24.11.0 added Python 3.12 support and a CLI scalar flag.

### Related projects

- The documentation compares glom with jq, XPath/XSLT, SQL, GraphQL, templating systems, and Python validation libraries, while keeping Python specs as the central interface.

### 来源

- <https://github.com/mahmoud/glom>
- <https://glom.readthedocs.io/>
- <https://glom.readthedocs.io/en/stable/cli.html>
- <https://pypi.org/project/glom/>
- <https://raw.githubusercontent.com/mahmoud/glom/master/CHANGELOG.md>
- <https://raw.githubusercontent.com/mahmoud/glom/master/README.md>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** glom
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- Nix - glom: normalized package name match | nixpkgs package indexes: pkgs/by-name/gl/glom/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - glom - 1.30.4-7build8: normalized package name match | Ubuntu 24.04 LTS package indexes: glom from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | database designer and user interface | http://www.glom.org/
- Ubuntu apt - glom-doc - 1.30.4-7build8: normalized package name match | Ubuntu 24.04 LTS package indexes: glom-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | database designer and user interface - documentation | http://www.glom.org/
- Ubuntu apt - glom-utils - 1.30.4-7build8: normalized package name match | Ubuntu 24.04 LTS package indexes: glom-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Command-line utilities for Glom | http://www.glom.org/
- Ubuntu apt - libglom-1.30-0 - 1.30.4-7build8: normalized package name match | Ubuntu 24.04 LTS package indexes: libglom-1.30-0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Glom library (a database designer and user interface) - library | http://www.glom.org/
- Ubuntu apt - libglom-1.30-dev - 1.30.4-7build8: normalized package name match | Ubuntu 24.04 LTS package indexes: libglom-1.30-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Glom library (a database designer and user interface) - header files | http://www.glom.org/
- MacPorts - glom: normalized package name match | MacPorts ports tree: gnome/glom/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Language runtime packages](https://www.automicvault.com/zh-hans/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [python@3.14](https://www.automicvault.com/zh-hans/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [bagit](https://www.automicvault.com/zh-hans/pkg/brew/bagit/) - Shares av.db curated category or tags: cli, data, python.
- [csvkit](https://www.automicvault.com/zh-hans/pkg/brew/csvkit/) - Shares av.db curated category or tags: cli, data, python.
- [datamash](https://www.automicvault.com/zh-hans/pkg/brew/datamash/) - Shares av.db curated category or tags: cli, data, data-transformation.
- [fred](https://www.automicvault.com/zh-hans/pkg/brew/fred/) - Shares av.db curated category or tags: cli, data, python.
- [iredis](https://www.automicvault.com/zh-hans/pkg/brew/iredis/) - Shares av.db curated category or tags: cli, data, python.
- [kaskade](https://www.automicvault.com/zh-hans/pkg/brew/kaskade/) - Shares av.db curated category or tags: cli, data, python.
- [mysql-to-sqlite3](https://www.automicvault.com/zh-hans/pkg/brew/mysql-to-sqlite3/) - Shares av.db curated category or tags: cli, data, python.
- [overturemaps](https://www.automicvault.com/zh-hans/pkg/brew/overturemaps/) - Shares av.db curated category or tags: cli, data, python.

## Combined YAML source

View the package source record on GitHub. [combined/glom.yml](https://github.com/automic-vault/db/blob/main/combined/glom.yml)


## 来源

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