Registry / type-stubs / types-pyflakes

types-pyflakes

JSON →
library3.4.0.20260518pypypiunverified

Typing stubs for pyflakes, providing type hints for the pyflakes library. Current version: 3.4.0.20260408. Released as part of typeshed, updated periodically to match pyflakes releases.

pip install types-pyflakes
INSTALL
IMPORT
SIG · TYPES-PYFLAKES
T
types-pyflakes
type-stubspythonv3.4.0.20260518
Install
1.5s avg
Import
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v3.4.0.20260518 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 17.8MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.5s · import 0.000s · 18MB
16MB installed
● package 16MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

pyflakes-stubs
import pyflakes_stubs
import pyflakes

Install both pyflakes and its type stubs, then run mypy to type-check your code that uses pyflakes.

pip install pyflakes types-pyflakes # Then run a type checker like mypy mypy --strict your_script.py
Debug
Known issues
gotchaDo not import from types-pyflakes directly. The stubs are automatically used by type checkers (mypy, pyright) when both pyflakes and types-pyflakes are installed.
fix
Simply install types-pyflakes alongside pyflakes. Type checking works automatically.
affects: all
deprecatedtypes-pyflakes versions prior to 3.4.0.20260408 may lack full type annotations for newer pyflakes features.
fix
Upgrade to the latest version: pip install --upgrade types-pyflakes
affects: <3.4.0.20260408
Upgrade
Version history
3.4.0.20260518latest on PyPI · released May 18, 2026
Audit
Dependencies
pyflakesoptionalThis package only provides stubs; you need the actual pyflakes library at runtime.
Agent activity
38 hits · last 30 days
node
36
OpenAI (training)
1
Resources
types-pyflakes — pip install types-pyflakes · libregistry