# 使用 Homebrew, apk, apt 安装 smartypants

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

## 安装

```sh
sudo av install brew:smartypants
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install smartypants
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add smartypants
```

  证据: Alpine Linux edge package indexes: smartypants from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install python3-smartypants
```

  证据: Debian stable package indexes: python3-smartypants from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## 软件包事实

- **软件包键:** brew:smartypants
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/smartypants>
- **版本:** 1.5.1
- **来源摘要:** Typography prettifier
- **主页:** <https://daringfireball.net/projects/smartypants/>
- **上游文档:** <https://daringfireball.net/projects/smartypants/>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://daringfireball.net/projects/downloads/SmartyPants_1.5.1.zip>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- smartypants (cli)
- smartypants (别名)

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.5.1
- 本地数据: OK
- 上游仓库: https://daringfireball.net/projects/smartypants/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

SmartyPants is John Gruber's typography filter for turning plain ASCII punctuation into typographic HTML entities. In package-manager culture it is a small but durable text-processing command, tied to early weblog tooling and the same Daring Fireball ecosystem that produced Markdown.

### 项目历史

The official project page records SmartyPants 1.0 as released on November 13, 2002. It began as a free web publishing plug-in for Movable Type and later supported Blosxom, BBEdit, and Unix-style command-line use.

### 采用历史

SmartyPants became useful wherever plain text was converted to web output. The official history added Blosxom, BBEdit, command-line use, and automatic integration with Markdown in Movable Type; the supplied package metadata shows later packaging in Homebrew, Alpine, Debian, and Ubuntu variants.

### 使用方式

The tool converts straight quotes, backtick quote notation, dash sequences, and three dots into smart quote, dash, and ellipsis HTML entities while avoiding code-like HTML blocks such as `pre`, `code`, `kbd`, and `script`.

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

Package maintainers care because SmartyPants is a classic tiny text filter: old Perl, web-publishing conventions, command-line use, and compatibility behavior all matter more than churn. It is also historically adjacent to Markdown, which makes it familiar to documentation and static-site toolchains.

### 时间线

- 2002: SmartyPants 1.0 initial release.
- 2003: Version 1.2 became a combination plug-in for Movable Type, Blosxom, BBEdit, and standalone command-line use.
- 2004: Version 1.5 added automatic Markdown integration for Movable Type.
- 2004: Version 1.5.1 was published as the downloadable release on the official page.

### Related projects

- The official page discusses Movable Type, Blosxom, BBEdit, MT-Textile, Textile, and Markdown integration.

### 来源

- <https://daringfireball.net/projects/smartypants/: official description, version history, supported tools, command-line note, and release dates.>
- input source_facts.package-manager: Homebrew, Alpine, Debian, and Ubuntu package names.


## 安全说明

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:** smartypants
- **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

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

- Debian apt - python3-smartypants - 2.0.0-4: normalized package name match | Debian stable package indexes: python3-smartypants from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | smart-quotes plugin for pyblosxom (Python 3 version) | https://github.com/justinmayer/smartypants.py
- Ubuntu apt - python3-smartypants - 2.0.0-3: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-smartypants from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | smart-quotes plugin for pyblosxom (Python 3 version) | http://web.chad.org/projects/smartypants.py/
- apk - smartypants - 2.0.1-r6: normalized package name match | Alpine Linux edge package indexes: smartypants from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Translate plain ASCII punctuation characters into “smart” typographic punctuation HTML entities | https://github.com/leohemsted/smartypants.py
- apk - smartypants-doc - 2.0.1-r6: normalized package name match | Alpine Linux edge package indexes: smartypants-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Translate plain ASCII punctuation characters into “smart” typographic punctuation HTML entities (documentation) | https://github.com/leohemsted/smartypants.py
- apk - smartypants-pyc - 2.0.1-r6: normalized package name match | Alpine Linux edge package indexes: smartypants-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for smartypants | https://github.com/leohemsted/smartypants.py


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [unum](https://pkg.so/zh-hans/brew/unum/) - Shares pkgdb curated category or tags: cli, developer-tools, html-entities, perl.
- [lcov](https://pkg.so/zh-hans/brew/lcov/) - Shares pkgdb curated category or tags: cli, developer-tools, perl.
- [ack](https://pkg.so/zh-hans/brew/ack/) - Shares pkgdb curated category or tags: cli, developer-tools, perl.
- [cpanminus](https://pkg.so/zh-hans/brew/cpanminus/) - Shares pkgdb curated category or tags: cli, developer-tools, perl.
- [colordiff](https://pkg.so/zh-hans/brew/colordiff/) - Shares pkgdb curated category or tags: cli, developer-tools, perl.
- [checkbashisms](https://pkg.so/zh-hans/brew/checkbashisms/) - Shares pkgdb curated category or tags: cli, developer-tools, perl.
- [cpm](https://pkg.so/zh-hans/brew/cpm/) - Shares pkgdb curated category or tags: cli, developer-tools, perl.
- [perltidy](https://pkg.so/zh-hans/brew/perltidy/) - Shares pkgdb curated category or tags: cli, developer-tools, perl.
- [smartypants](https://pkg.so/zh-hans/npm/smartypants/) - Same normalized package name appears in another local ecosystem. Shared terms: cli, developer, developer-tools, entities, html.
- [markdown](https://pkg.so/zh-hans/brew/markdown/) - Both packages work with overlapping file formats or content types. Shared terms: cli, developer, developer-tools, html, text.
- [smartypants](https://pkg.so/zh-hans/npm/smartypants/) - Same normalized package name in another local ecosystem.

## Combined YAML source

View the package source record on GitHub. [combined/smartypants.yml](https://github.com/mxcl/pkgdb/blob/main/combined/smartypants.yml)


## 来源

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