Registry / type-stubs / types-invoke

types-invoke

JSON →
library2.0.0.10pypypiunverified

Unofficial typing stubs for the invoke library, provided by typeshed. Version 2.0.0.10 supports Python 3.7+. These stubs allow type checkers to validate code using invoke, but they may lag behind the invoke library itself.

pip install types-invoke
INSTALL
IMPORT
SIG · TYPES-INVOKE
T
types-invoke
type-stubspythonv2.0.0.10
Install
1.5s avg
Import
—
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v2.0.0.10 · 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.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 17.9MB
glibc
py 3.10–3.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.

run
✓ from invoke_stubs import run
✗ from invoke import run

Use invoke's run function with type stubs enabled.

from invoke import run result = run('echo hello', hide=True) print(result.stdout)
Debug
Known issues
deprecatedtypes-invoke is provided by typeshed and may be removed or replaced by stubs in the invoke package itself.
fix
Consider using `pip install invoke[types]` if available in the future, or rely on inline type hints.
affects: >=2.0.0
gotchaStubs may not cover all invoke features; some advanced patterns may not type-check correctly.
fix
Add `# type: ignore` comments or write custom stubs for unsupported features.
affects: all
breakingVersion 2.0.0.10 is not a standard semantic version; it follows typeshed's calendar versioning. This may confuse dependency resolvers.
fix
Pin to exact version: `types-invoke==2.0.0.10`.
affects: 2.0.0.10
Upgrade
Version history
2.0.0.10latest on PyPI · released Oct 19, 2023
Audit
Dependencies
invokerequiredRuntime dependency; stubs are used alongside invoke
Agent activity
28 hits · last 30 days
node
24
OpenAI (training)
1
Resources