pep8
Python style guide checker
Decision gist · record as of 2026-08-14
No. While pep8 is stable and has no known vulnerabilities, it has been abandoned and explicitly marked as superseded. The package itself warns users that it will no longer be released under this name. Install pycodestyle instead, which is the maintained successor.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with no runtime dependencies.
- However, the package is abandoned—last released 2017-10-24—and includes a warning that pep8 is no longer released under this name and will only be fixed in pycodestyle.
License · maintenance · safety
Expat license (permissive) — Licensed under Expat license (MIT), a permissive open-source license with minimal restrictions on use, modification, and distribution.
last release 2017-10-24 (3216 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,791,812 downloads/mo, #3,553 on PyPI
Alternatives
Verify before relying
pip install pep8
pep8 myfile.py
# Output: myfile.py:69:11: E401 multiple imports on one line- Whether pycodestyle is a direct replacement or requires code changes for existing pep8 integrations
- Current compatibility with Python versions beyond 3.5 (last mentioned in changelog)
What it is and what it does
pep8 is a command-line tool that scans Python source files and reports style violations against PEP 8 conventions. It identifies issues like incorrect whitespace, import formatting, line length, and indentation, outputting results with file location, line number, and error codes that can be parsed by editors and build tools.
The tool is designed to be lightweight—it requires only the Python standard library and can run as a single file—and includes a plugin architecture for adding custom checks. However, as of version 1.7.1 (2017-10-24), the project is no longer maintained under the pep8 name; the maintainers have redirected users to pycodestyle for ongoing fixes and support.
Use it for
- Automated style checking in CI/CD pipelines to enforce PEP 8 compliance before code merge
- Editor integration to highlight style violations in real-time as you write Python code
- Batch auditing of large codebases to identify and report all style violations with statistics
- Custom linting workflows where you extend pep8 with project-specific style checks via its plugin system
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
While pep8 is stable and has no known vulnerabilities, it has been abandoned and explicitly marked as superseded. The package itself warns users that it will no longer be released under this name. Install pycodestyle instead, which is the maintained successor.
Install
pep8 on PyPI
Before you install
Low install friction with no runtime dependencies. However, the package is abandoned—last released 2017-10-24—and includes a warning that pep8 is no longer released under this name and will only be fixed in pycodestyle.
License in practice
Licensed under Expat license (MIT), a permissive open-source license with minimal restrictions on use, modification, and distribution.
Quickstart
pip install pep8
pep8 myfile.py
# Output: myfile.py:69:11: E401 multiple imports on one line
Verify before relying
- Whether pycodestyle is a direct replacement or requires code changes for existing pep8 integrations
- Current compatibility with Python versions beyond 3.5 (last mentioned in changelog)
Package facts
| License | Expat license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 3,216 days since the last release |
| First released | |
| Downloads | 1,791,812 / month, #3,553 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 3Topic :: Software Development :: Libraries :: Python Modules |
Evidence: pep8-1.7.1-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “pep8 compliance checker”
- pep8Checks Python code against PEP 8 style conventions and reports…
- pycodestylepycodestyle checks Python code against PEP 8 style conventions,…
- pep8-namingA flake8 plugin that checks Python code for compliance with PEP 8…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also autopep8 · pycodestyle · pytest-pep8 · flake8 · flake8-noqa · pydocstringformatter · bashate · yesqa · pytest-flake8 · check-manifest