Automic VaultAutomic Vault

brew

autopep8 を Homebrew, apt, pacman でインストール

autopep8 のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install autopep8

local Homebrew formula metadata

Linux

Debian apt確認済み · 92%
sudo apt install python3-autopep8

Debian stable package indexes · python3-autopep8 · ソース: deb.debian.org

Arch Linux pacman確認済み · 92%
sudo pacman -S autopep8

Arch Linux sync databases · autopep8 · ソース: geo.mirror.pkgbuild.com

概要

パッケージ概要

Automatically formats Python code to conform to the PEP 8 style guide

コマンドとエイリアス

  • autopep8

履歴

プロジェクトの歴史と使われ方

autopep8 is a Python formatter that uses pycodestyle diagnostics to rewrite code toward PEP 8. It predates the Black era of Python formatting and represents the earlier style of configurable, error-code-driven automatic cleanup.

プロジェクトの歴史

The official GitHub repository was created in December 2010. The README describes autopep8 as a tool that automatically formats Python code to conform to PEP 8, using pycodestyle to determine which parts need formatting.

The project grew around pycodestyle error codes: the README lists many E and W codes autopep8 can fix, plus conservative defaults and more aggressive modes for changes that may affect semantics.

採用の歴史

autopep8 spread through Python packaging and editor integrations as a command-line formatter. The batch input lists Homebrew plus Debian/Ubuntu and Arch packages, while the official README points users to pip, PyPI, GitHub, and pre-commit hook usage.

Its GitHub metadata shows thousands of stars and hundreds of forks, consistent with long-running use in Python developer workflows even as opinionated formatters became more prominent later.

使われ方

Common usage is autopep8 --in-place with one or more --aggressive flags, or --diff for review. The README also documents module use through fix_code(), recursive operation, parallel jobs, line ranges, pre-commit integration, and pyproject.toml support.

Configuration can come from a global pycodestyle file, project files such as setup.cfg, tox.ini, .pep8, and .flake8, or pyproject.toml under [tool.autopep8], which takes precedence over other configuration files.

パッケージ好きにとっての重要性

autopep8 is useful to package nerds because it bridges Python packaging, linter configuration, editor formatting, and pre-commit automation without imposing a single style regime. Its behavior is legible in terms of pycodestyle codes, which makes distro and CI behavior easier to explain than opaque formatter output.

タイムライン

  • 2010: hhatto/autopep8 GitHub repository created.
  • 2010s: autopep8 becomes a common PEP 8 cleanup command distributed through PyPI and OS package managers.
  • 2020s: autopep8 continues supporting pyproject.toml, pre-commit, modern Python versions, and pycodestyle-based fixes.

Related projects

  • pycodestyle supplies the style diagnostics autopep8 uses.
  • flake8 and pep8-style configuration files influence autopep8 configuration discovery.
  • Black, yapf, docformatter, and eradicate are adjacent Python formatting or cleanup tools.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 1 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.config/pycodestylesetup.cfgtox.ini.pep8.flake8pyproject.toml
Windows
~\.pycodestylesetup.cfgtox.ini.pep8.flake8pyproject.toml

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
autopep8cliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-08
マネージャ版2.3.2
マネージャ更新日
ローカルデータOK
上流not checked
検出された最新未検出

https://github.com/hhatto/autopep8

  • 情報No package-manager update timestamp was available.信頼度 低
  • 情報No cached GitHub release or tag data was available.https://github.com/hhatto/autopep8信頼度 none

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:autopep8
バージョン2.3.2
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/autopep8
ホームページhttps://github.com/hhatto/autopep8
リポジトリhttps://github.com/hhatto/autopep8
上流ドキュメントhttps://github.com/hhatto/autopep8#readme
ライセンスMIT
ソースアーカイブhttps://files.pythonhosted.org/packages/50/d8/30873d2b7b57dee9263e53d142da044c4600a46f2d28374b3e38b023df16/autopep8-2.3.2.tar.gz
依存関係python@3.14
Bottle利用可能 (対象 all)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameautopep8
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

python3-autopep8 2.3.2-1

tool that automatically formats Python code to conform to PEP 8

https://github.com/hhatto/autopep8

sudo apt install python3-autopep8
  • Section: python
  • Architecture: all
  • Source Package: autopep8
  • 4 依存関係
  • normalized package name match
  • 一致条件: Autopep8
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-autopep8 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

python3-autopep8 2.0.4-2

tool that automatically formats Python code to conform to PEP 8

https://github.com/hhatto/autopep8

sudo apt install python3-autopep8
  • Section: universe/python
  • Architecture: all
  • Source Package: autopep8
  • 7 依存関係
  • normalized package name match
  • 一致条件: Autopep8
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-autopep8 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
pacman95%

autopep8 1:2.3.2-2

A tool that automatically formats Python code to conform to the PEP 8 style guide

https://github.com/hhatto/autopep8

sudo pacman -S autopep8
  • License: MIT
  • Architecture: any
  • 2 依存関係
  • normalized package name match
  • 一致条件: Autopep8
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: autopep8 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

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