Tech riderRev. 21 Sept 2026
autopep8
- 1Runs onAPI, Linux, Mac, Windows
- 2CostsNot stated by the maker
- 3℗License modelopen source
- 4Supported languagesPython
- 5Supported platformsOS independent
- 6Editor integrationNo
- 7Ignore filesYes
- 8Changed-lines formattingYes
- 9Library APIYes
8 lines stated Written from the maker's own pages: github.com

Overview
autopep8 is ranked #11 of 34 in code formatting tools on Specifiction. It runs on API, Linux, macOS, Windows.
Compared on code formatting tools
- Free plan
- Yesgithub.com
- Supported languages
- Pythongithub.com
- Supported platforms
- OS independentgithub.com
- Editor integration
- Nogithub.com
- Ignore files
- Yesgithub.com
- Changed-lines formatting
- Yesgithub.com
- Library API
- Yesgithub.com
- License model
- open_sourcegithub.com
Facts
- Purpose
- autopep8 automatically formats Python code to conform to the PEP 8 style guide.github.com · 3 Oct 2026
- How it works
- It uses pycodestyle to identify formatting issues and can fix most issues that pycodestyle reports.github.com · 3 Oct 2026
- Installation
- The project documents installation with `pip install --upgrade autopep8`.github.com · 3 Oct 2026
- Requirements
- autopep8 requires pycodestyle.github.com · 3 Oct 2026
- Fixes
- Listed fixes include indentation, whitespace, blank lines, imports, line length, and selected code style issues.github.com · 3 Oct 2026
- Change controls
- The tool supports selecting or ignoring fix codes, setting a maximum line length, and enabling more aggressive changes.github.com · 3 Oct 2026
- Configuration
- It supports configuration through pyproject.toml, setup.cfg, tox.ini, .pep8, and .flake8 files.github.com · 3 Oct 2026
- Integration
- autopep8 can be used as a pre-commit hook.github.com · 3 Oct 2026
- Programming interface
- The project documents using autopep8 as a Python module through its `fix_code()` function.github.com · 3 Oct 2026
- Limit
- By default, autopep8 makes whitespace changes only; some fixes that can alter code meaning require the `--aggressive` option.github.com · 3 Oct 2026
- Compatibility
- PyPI lists Python >=3.9 as a requirement and classifies the operating system as OS Independent.pypi.org · 3 Oct 2026
- Audience
- PyPI classifies the intended audience as developers and the environment as console.pypi.org · 3 Oct 2026
- License
- PyPI identifies the project license as MIT License.pypi.org · 3 Oct 2026
- Support and maintenance
- The project links to GitHub Issues and lists two PyPI maintainers.github.com · 3 Oct 2026
- Change control
- By default, autopep8 makes whitespace changes; non-whitespace fixes can be enabled with the aggressive option.github.com · 3 Oct 2026
- Windows
- The configuration documentation refers to a Windows environment and its `~\.pycodestyle` global configuration file.github.com · 3 Oct 2026
- Python requirement
- The package metadata requires Python 3.9 or newer.pypi.org · 3 Oct 2026
- Intended audience
- PyPI classifies the package for developers and lists its environment as Console.pypi.org · 3 Oct 2026
Best autopep8 alternatives
See all 12 All accessCh 01 Accessibility Test Framework for Android Free planAndroidLinux Free to start7.4 All accessCh 02 Prettier Free planAPIBrowser Free to start7.4 All accessCh 03 Black Free planLinuxMac Free to start7.3 All accessCh 04 rustfmt Free planLinuxMac Free to start7.3 All accessCh 05 Biome Free planBrowserLinux Free to start7.2 All accessCh 06 gofmt Free planLinuxMac Free to start7.2
Where it ranks on Specifiction
- Best Code Formatting Tools in 2026#11 of 34
Is autopep8 yours?
Claim it for free: prove the domain, then correct facts, plans and screenshots. An editor reviews every change.
Sources
- github.com/hhatto/autopep8· checked 3 Oct 2026
- pypi.org/project/autopep8/· checked 3 Oct 2026

