# 使用 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
- **版本:** 1.5.1
- **来源摘要:** Typography prettifier
- **主页:** <https://daringfireball.net/projects/smartypants/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- smartypants (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.5.1
## 项目历史与用法

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

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

- 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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
