hhatto/autopep8
A tool that automatically formats Python code to conform to the PEP 8 style guide. observed · 2026-08-28
Health v2 · maintenance only
65/100
- Activity 93
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5726
- days_rel: 596
- days_push: 44
- n_releases_24m: 1
Adoption not part of the score
4660 stars · 284 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
autopep8 is a Python tool that automatically formats Python code to conform to the PEP 8 style guide. It uses pycodestyle to detect formatting issues and can fix most of them, either in place or via diff output.
Use cases
- format python code to pep 8
- auto fix pycodestyle violations
- clean up python code style automatically
- reformat python files before committing
- fix indentation and spacing in python code
When to choose
- you want automated PEP 8 compliance for Python codebases
- you need to fix pycodestyle-reported issues without manual editing
- you want a lightweight formatter tightly aligned with pycodestyle rules
When to avoid
- you prefer a faster, more opinionated formatter like Black or Ruff
- you need formatting beyond PEP 8 style rules
- you want a formatter that also enforces linting beyond style issues
Facets
cli-tool · maturity stable
formatter linter cli developer-tools programming-languages python cli cross-platform pep8 code-formatting pycodestyle python command-line
3 sources
- readme: https://github.com/hhatto/autopep8 · fetched 2026-08-28 · 6b3df2c53199
- homepage: https://pypi.org/project/autopep8/ · fetched 2026-08-29 · 4b4e8fead74a
- registry_pypi: https://pypi.org/pypi/autopep8/json · fetched 2026-08-29 · f139e291dc45
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| hhatto/autopep8 | main | 65 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem