macOS
brew install autopep8local Homebrew formula metadata
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de autopep8 pour les workflows d'agents IA.
installation
brew install autopep8local Homebrew formula metadata
sudo apt install python3-autopep8Debian stable package indexes · python3-autopep8 · Source: deb.debian.org
sudo pacman -S autopep8Arch Linux sync databases · autopep8 · Source: geo.mirror.pkgbuild.com
aperçu
Automatically formats Python code to conform to the PEP 8 style guide
historique
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.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
local files
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.
Config paths the tool may read or write during local use.
~/.config/pycodestylesetup.cfgtox.ini.pep8.flake8pyproject.toml~\.pycodestylesetup.cfgtox.ini.pep8.flake8pyproject.tomlexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
autopep8 | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://github.com/hhatto/autopep8
métadonnées d'installation
| Clé du paquet | brew:autopep8 |
|---|---|
| Version | 2.3.2 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/autopep8 |
| Page d'accueil | https://github.com/hhatto/autopep8 |
| Dépôt | https://github.com/hhatto/autopep8 |
| Docs amont | https://github.com/hhatto/autopep8#readme |
| Licence | MIT |
| Archive source | https://files.pythonhosted.org/packages/50/d8/30873d2b7b57dee9263e53d142da044c4600a46f2d28374b3e38b023df16/autopep8-2.3.2.tar.gz |
| Dépendances | python@3.14 |
| Bouteille | disponible (sur all) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | autopep8 |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
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-autopep8python3-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-autopep8autopep8 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 autopep8piste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.