# Install yapf

Formatter for python code. Version 0.43.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:yapf
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install yapf
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install python3-yapf
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#yapf
```

  Evidence: nixpkgs package indexes: yapf from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S yapf
```

  Evidence: Arch Linux sync databases: yapf from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Package Facts

- **Package key:** brew:yapf
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/yapf>
- **Version:** 0.43.0
- **Source summary:** Formatter for python code
- **Homepage:** <https://github.com/google/yapf>
- **Repository:** <https://github.com/google/yapf>
- **Upstream docs:** <https://github.com/google/yapf#readme>
- **License:** Apache-2.0
- **Source archive:** <https://files.pythonhosted.org/packages/23/97/b6f296d1e9cc1ec25c7604178b48532fa5901f721bcf1b8d8148b13e5588/yapf-0.43.0.tar.gz>
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- yapf (cli)
- yapf-diff (cli)
- yapf (alias)
- yapf-diff (alias)

## Dependencies

- python@3.14

## Install Behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 0.43.0
- Local data status: ok
- Upstream repository: https://github.com/google/yapf
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.

## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** yapf
- **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

## Other Package-Manager Records

- Debian apt - python3-yapf - 0.40.2-3: normalized package name match | Debian stable package indexes: python3-yapf from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | public modules for yapf (Python 3) | https://github.com/google/yapf
- Debian apt - yapf3 - 0.40.2-3: normalized package name match | Debian stable package indexes: yapf3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Python code formatter for different styles (Python 3) | https://github.com/google/yapf
- Nix - yapf: normalized package name match | nixpkgs package indexes: yapf from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - python3-yapf - 0.33.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-yapf from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | public modules for yapf (Python 3) | https://github.com/google/yapf
- Ubuntu apt - yapf3 - 0.33.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: yapf3 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Python code formatter for different styles (Python 3) | https://github.com/google/yapf
- pacman - yapf - 0.43.0-2: normalized package name match | Arch Linux sync databases: yapf from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Python style guide checker | https://github.com/google/yapf


## Related Links

- [Source-control packages](https://www.automicvault.com/ja/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/ja/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/ja/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [python@3.14](https://www.automicvault.com/ja/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [snakefmt](https://www.automicvault.com/ja/pkg/brew/snakefmt/) - Shares av.db curated category or tags: cli, code-style, developer-tools, formatter, formatters.
- [stylua](https://www.automicvault.com/ja/pkg/brew/stylua/) - Shares av.db curated category or tags: cli, code-style, developer-tools, formatter, formatters.
- [gnu-indent](https://www.automicvault.com/ja/pkg/brew/gnu-indent/) - Shares av.db curated category or tags: cli, code-style, developer-tools, formatter, formatters.
- [fprettify](https://www.automicvault.com/ja/pkg/brew/fprettify/) - Shares av.db curated category or tags: cli, developer-tools, formatter, formatters, python.
- [stylish-haskell](https://www.automicvault.com/ja/pkg/brew/stylish-haskell/) - Shares av.db curated category or tags: cli, code-style, developer-tools, formatter, formatters.
- [gci](https://www.automicvault.com/ja/pkg/brew/gci/) - Shares av.db curated category or tags: cli, code-style, developer-tools, formatter, formatters.
- [cljfmt](https://www.automicvault.com/ja/pkg/brew/cljfmt/) - Shares av.db curated category or tags: cli, code-style, developer-tools, formatter, formatters.
- [mdformat](https://www.automicvault.com/ja/pkg/brew/mdformat/) - Shares av.db curated category or tags: cli, developer-tools, formatter, formatters, python.
- [gersemi](https://www.automicvault.com/ja/pkg/brew/gersemi/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, code, code-style, developer, developer-tools.

## Sources

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