$npx skillfedfor your agent

flake8-import-order

Flake8 and pylama plugin that checks the ordering of import statements.

With conditionsPyPI Python ModulesReleased Jun 20251.6M downloads / moLGPLv3Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — flake8_import_order-0.19.2-py3-none-any.whl
v0.19.2 · released 2025-06-24 · 2 runtime deps: pycodestyle, setuptools

Yes, if you use flake8 and want automated import ordering enforcement. The plugin is actively maintained, has no known vulnerabilities, and imposes minimal installation friction. The LGPLv3 copyleft license is a consideration only if you plan to redistribute the code; for typical development use it is not a barrier.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction installation as a pure Python wheel with only pycodestyle and setuptools as runtime dependencies.
  • The project is actively maintained with recent commits since its initial release.

License · maintenance · safety

LGPLv3 (copyleft) — Licensed under LGPLv3 (copyleft), which requires derivative works to be distributed under the same license terms. This may restrict redistribution or embedding in proprietary code.

last release 2025-06-24 (416 days) · last repo commit 2026-08-11 · 281 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,597,532 downloads/mo, #3,729 on PyPI

Verify before relying

pip install flake8-import-order

Add to .flake8 config:
[flake8]
import-order-style = cryptography
application-import-names = myapp
  • Whether performance is acceptable on large codebases with many imports
  • Exact Python version compatibility beyond the classifiers listed
Same gist for agents: .md · .json

What it is and what it does

flake8-import-order is a flake8 plugin that validates how imports are organized in Python code. It enforces grouping conventions—typically stdlib first, then third-party packages, then local code—and checks that each group is properly sorted. The plugin supports multiple built-in styles including cryptography (the default), google, smarkets, appnexus, edited, pycharm, and pep8, and allows you to define custom styles by extending the base class.

You configure it by specifying which names belong to your application and optionally which packages are internal to your organization. It reports four warning types: I100 (imports out of order), I101 (names within a from-import out of order), I201 (missing blank line between groups), and I202 (extra blank line within a group). Checks operate only at module scope and ignore conditional imports except those under TYPE_CHECKING blocks.

Use it for

  • Enforce consistent import organization across a team to improve code readability
  • Integrate import ordering checks into CI/CD pipelines with other flake8 rules
  • Adopt a specific import style and automatically flag deviations in code review
  • Define a custom import style for your organization and register it as an entry point

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you use flake8 and want automated import ordering enforcement.

The plugin is actively maintained, has no known vulnerabilities, and imposes minimal installation friction. The LGPLv3 copyleft license is a consideration only if you plan to redistribute the code; for typical development use it is not a barrier.

Install

flake8-import-order on PyPI

Before you install

Low friction installation as a pure Python wheel with only pycodestyle and setuptools as runtime dependencies. The project is actively maintained with recent commits since its initial release.

License in practice

Licensed under LGPLv3 (copyleft), which requires derivative works to be distributed under the same license terms. This may restrict redistribution or embedding in proprietary code.

Quickstart

pip install flake8-import-order

Add to .flake8 config:
[flake8]
import-order-style = cryptography
application-import-names = myapp

Verify before relying

  • Whether performance is acceptable on large codebases with many imports
  • Exact Python version compatibility beyond the classifiers listed

Package facts

LicenseLGPLv3 copyleft
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
pycodestylesetuptools
MaintenanceActively maintained 416 days since the last release
Last repo commit
First released
Downloads1,597,532 / month, #3,729 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaFramework :: Flake8Intended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: Quality Assurance

Evidence: flake8_import_order-0.19.2-py3-none-any.whl

Tags

Capabilities
flake8 import order pluginpython import linterimport grouping checkercode style validationflake8 import checker
Topics
lintingcode-style

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 import order plugin”

  • flake8-import-orderA flake8 plugin that enforces import ordering and grouping according…
  • flake8-isortIntegrates isort into flake8 linting, reporting import violations as…
  • flake8-tidy-importsA flake8 plugin that detects and reports unnecessary import aliases,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

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.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

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.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

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.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

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…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also flake8-isort · flake8-tidy-imports · flake8-pep585 · flake8-typing-imports · flake8 · pyflakes · flake8-commas · flake8-type-checking · flake8-bandit · classify-imports