pep8-naming
Check PEP-8 naming conventions, plugin for flake8
Decision gist · record as of 2026-08-14
Yes. pep8-naming is a lightweight, zero-configuration flake8 extension that adds genuine value to code quality checks. It has no security vulnerabilities, permissive licensing, and low install friction. The aging maintenance status (466 days since release) is not a blocker—the plugin's scope is narrow and stable, and the underlying PEP 8 standard does not change frequently. Install it if you use flake8 and want to enforce naming conventions.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires flake8 to be installed; the plugin only works as a flake8 extension, not as a standalone tool.
- Installs with minimal friction as a pure Python wheel depending only on flake8.
- The package is aging (466 days since last release) but remains in production/stable status with an active repository.
License · maintenance · safety
Expat license (permissive) — Licensed under the Expat license, a permissive open-source license with no restrictions on commercial or private use.
last release 2025-05-05 (466 days) · last repo commit 2025-05-06 · 530 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,811,840 downloads/mo, #2,880 on PyPI
Alternatives
Verify before relying
pip install pep8-naming
flake8 your_code.py
# Plugin is automatically available; errors like N801, N802, N803 will be reported- Whether the 466-day gap since last release indicates active maintenance or dormancy relative to flake8's own release cycle.
- How well the plugin handles edge cases in modern Python features like type variables (N808 error code).
What it is and what it does
pep8-naming is a flake8 plugin that enforces PEP 8 naming conventions across your Python codebase. When installed alongside flake8, it automatically becomes available and checks for naming violations: class names should use CapWords, functions and variables should be lowercase, method arguments should follow specific patterns (cls for classmethods, self for instance methods), and imports should preserve the naming style of their source. It emits error codes N801 through N818 to identify specific violations.
The plugin integrates seamlessly into your existing flake8 workflow—once installed, it runs without additional configuration. It provides options to ignore specific names or patterns (useful for test frameworks that use setUp/tearDown conventions), and to recognize custom decorators as classmethods or staticmethods to avoid false positives. It supports Python 3.9+ and has been maintained since 2013.
Use it for
- Enforce consistent naming style across a team's codebase during CI/CD by adding pep8-naming checks to your flake8 configuration.
- Catch naming violations in pull requests automatically, flagging issues like improper function names or variable names that violate PEP 8.
- Configure custom decorator recognition to avoid false positives when using frameworks with non-standard method decorators.
- Validate codebases for naming convention compliance before refactoring or standardizing on PEP 8 style.
- Integrate into pre-commit hooks to catch naming issues before code is committed to the repository.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
pep8-naming is a lightweight, zero-configuration flake8 extension that adds genuine value to code quality checks. It has no security vulnerabilities, permissive licensing, and low install friction. The aging maintenance status (466 days since release) is not a blocker—the plugin's scope is narrow and stable, and the underlying PEP 8 standard does not change frequently. Install it if you use flake8 and want to enforce naming conventions.
Install
pep8-naming on PyPI
Before you install
Installs with minimal friction as a pure Python wheel depending only on flake8. The package is aging (466 days since last release) but remains in production/stable status with an active repository.
Requires flake8 to be installed; the plugin only works as a flake8 extension, not as a standalone tool.
License in practice
Licensed under the Expat license, a permissive open-source license with no restrictions on commercial or private use.
Quickstart
pip install pep8-naming
flake8 your_code.py
# Plugin is automatically available; errors like N801, N802, N803 will be reported
Verify before relying
- Whether the 466-day gap since last release indicates active maintenance or dormancy relative to flake8's own release cycle.
- How well the plugin handles edge cases in modern Python features like type variables (N808 error code).
Package facts
| License | Expat license permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageflake8 |
| Maintenance | Aging 466 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,811,840 / month, #2,880 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 :: ConsoleFramework :: Flake8Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: Quality Assurance |
Evidence: pep8_naming-0.15.1-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 › “flake8 naming conventions”
- pep8-namingA flake8 plugin that checks Python code for compliance with PEP 8…
- flake8-plugin-utilsProvides base classes and utilities for writing flake8 plugins,…
- flake8-variables-namesA flake8 extension that detects poorly named variables by flagging…
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 flake8-annotations · flake8 · flake8-class-attributes-order · flake8-quotes · flake8-variables-names · flake8-copyright · pyflakes · flake8-pep3101 · pytest-flake8 · pylama