# autopep8 — card for AI agents

Reformats Python code to the PEP 8 style guide.

Category: Linting and formatting · PyPI package `autopep8` · latest version 2.3.2 (checked 2026-11-01)
Install: `pip install autopep8`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 52.7 (#1679 of all tools, 41 of 83 in its category)
- Downloads last week: 1,872,057 (as of 2026-11-24), +13.1% over 4 weeks
- GitHub stars: 4,651 (as of 2026-11-24)
- Last push: 2026-07-20

## Often used with
pycodestyle 85.7%, Requests 85.7%, Click 83.9%, Jinja2 83.9%, NumPy 83.9%, attrs 82.1%

## Checked alternatives (same job)
- Black: https://agentgid.com/tools/black/agent.md
- Ruff: https://agentgid.com/tools/ruff/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/autopep8/
- Repository: https://github.com/hhatto/autopep8

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
