# 使用 Homebrew 安装 libpostal-rest

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

## 安装

```sh
sudo av install brew:libpostal-rest
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install libpostal-rest
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:libpostal-rest
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/libpostal-rest>
- **版本:** 1.1.0
- **来源摘要:** REST API for libpostal
- **主页:** <https://github.com/johnlonganecker/libpostal-rest>
- **仓库:** <https://github.com/johnlonganecker/libpostal-rest>
- **上游文档:** <https://github.com/johnlonganecker/libpostal-rest#readme>
- **许可证:** MIT
- **源码归档:** <https://github.com/johnlonganecker/libpostal-rest/archive/refs/tags/v1.1.0.tar.gz>
- **最后更新:** 2026-06-13T23:35:04+02:00
- **已生成:** 2026-07-25T07:20:51+00:00

## 可执行文件

- libpostal-rest (cli)
- libpostal-rest (别名)

## 依赖

- libpostal

## 构建依赖

- go
- pkgconf

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-25
- 管理器版本: 1.1.0
- 管理器更新时间: 2026-06-13
- 本地数据: OK
- 上游仓库: https://github.com/johnlonganecker/libpostal-rest
- 检测到的最新版本: v1.1.0 (当前)
## 项目历史与用法

libpostal-rest is a small Go REST service that exposes libpostal address parsing and expansion over HTTP. Its history is best understood as a deployment wrapper around the larger libpostal geospatial NLP library.

### 项目历史

The repository documents a Go 1.13+ build, HTTP endpoints for parsing, expansion, and combined expand-and-parse calls, and environment-variable configuration for listen address, logging, and Prometheus metrics. Its go.mod file depends on openvenues/gopostal, the Go binding for libpostal.

### 采用历史

The package has a narrow adoption story: it makes libpostal easier to run as a service when callers do not want to link directly to C or language bindings. The related libpostal project has broader adoption for normalizing and parsing international street addresses from open data.

### 使用方式

Operators run `libpostal-rest` as an HTTP service, then send address strings to `/parser`, `/expand`, or `/expandparser`. Environment variables configure the bind host, port, log format, log level, and optional Prometheus metrics endpoint.

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

The package is useful because libpostal itself has a heavy native build and large model-data footprint. A REST wrapper turns that local native dependency into a network service that other applications can consume with plain HTTP.

### 时间线

- 2022-06-17: The GitHub repository lists a public release around this date.
- 2022: The README documents Prometheus metrics and structured logging configuration for the service.

### Related projects

- libpostal is the core C address-normalization and parsing library.
- gopostal is the Go binding used by libpostal-rest.
- OpenStreetMap-derived data and libpostal's training pipeline are part of the upstream libpostal ecosystem.

### 来源

- <https://github.com/johnlonganecker/libpostal-rest>
- <https://github.com/openvenues/libpostal>
- <https://raw.githubusercontent.com/johnlonganecker/libpostal-rest/master/README.md>
- <https://raw.githubusercontent.com/johnlonganecker/libpostal-rest/master/go.mod>
- <https://raw.githubusercontent.com/openvenues/libpostal/master/README.md>


## 安全说明

library-like package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- library-like package without higher-risk signals

## 源数据库详情

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


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/zh-hans/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [carrot2](https://www.automicvault.com/zh-hans/pkg/brew/carrot2/) - Shares av.db curated category or tags: cli, data, rest-api.
- [cassandra-reaper](https://www.automicvault.com/zh-hans/pkg/brew/cassandra-reaper/) - Shares av.db curated category or tags: cli, data, rest-api.
- [meilisearch](https://www.automicvault.com/zh-hans/pkg/brew/meilisearch/) - Shares av.db curated category or tags: cli, data, rest-api.
- [opensearch](https://www.automicvault.com/zh-hans/pkg/brew/opensearch/) - Shares av.db curated category or tags: cli, data, rest-api.
- [prestd](https://www.automicvault.com/zh-hans/pkg/brew/prestd/) - Shares av.db curated category or tags: cli, data, rest-api.
- [activemq](https://www.automicvault.com/zh-hans/pkg/brew/activemq/) - Shares av.db curated category or tags: cli, data.
- [adios2](https://www.automicvault.com/zh-hans/pkg/brew/adios2/) - Shares av.db curated category or tags: cli, data.
- [alluxio](https://www.automicvault.com/zh-hans/pkg/brew/alluxio/) - Shares av.db curated category or tags: cli, data.
- [ip2location](https://www.automicvault.com/zh-hans/pkg/brew/ip2location/) - Local package facts share a topical domain. Shared terms: address, addresses, cli, data.

## Combined YAML source

View the package source record on GitHub. [combined/libpostal-rest.yml](https://github.com/automic-vault/db/blob/main/combined/libpostal-rest.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
- cross-ecosystem install command graph
