invoke
Pythonic task execution
Install
invoke on PyPI
pip
pip install invokeuv
uv add invokepoetry
poetry add invokePackage facts
| License | BSD-2-Clause (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 128 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: invoke-3.0.3-py3-none-any.whl
About invoke
from the package's own PyPI description — quoted content, verbatim
|version| |python| |license| |ci| |coverage|
.. |version| image:: https://img.shields.io/pypi/v/invoke :target: https://pypi.org/project/invoke/ :alt: PyPI - Package Version .. |python| image:: https://img.shields.io/pypi/pyversions/invoke :target: https://pypi.org/project/invoke/ :alt: PyPI - Python Version .. |license| image:: https://img.shields.io/pypi/l/invoke :target: https://github.com/pyinvoke/invoke/blob/main/LICENSE :alt: PyPI - License .. |ci| image:: https://img.shields.io/circleci/build/github/pyinvoke/invoke/main :target: https://app.circleci.com/pipelines/github/pyinvoke/invoke :alt: CircleCI .. |coverage| image:: https://img.shields.io/codecov/c/gh/pyinvoke/invoke :target: https://app.codecov.io/gh/pyinvoke/invoke :alt: Codecov
Welcome to Invoke!
Invoke is a Python library for managing shell-oriented subprocesses and
organizing executable Python code into CLI-invokable tasks. It draws
inspiration from various sources (make/rake, Fabric 1.x, etc) to arrive
at a powerful & clean feature set.
To find out what's new in this version of Invoke, please see `the...
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Invoke is a Python library for defining and executing shell commands and organizing executable Python code into CLI-invokable tasks, drawing inspiration from make, rake, and Fabric.
Low friction installation with no runtime dependencies. Actively maintained with recent commits and a 4768-star repository; supports Python 3.9–3.14.
BSD-2-Clause permissive license allows commercial and private use with minimal restrictions; include a copy of the license and retain copyright notices.
Usage
pip install invoke
from invoke import task, run
@task
def hello(c):
c.run('echo Hello from Invoke')
# Invoke from CLI: invoke hello
Python 3.9 or later required.
Verdict: Invoke is a mature, actively maintained task runner with zero dependencies, broad Python version support, and a permissive license. No known vulnerabilities and strong community adoption (top 1000 PyPI packages) make it a low-risk choice for subprocess and task automation.
Needs verification
- Whether the package's CLI entry point is automatically installed and how to invoke tasks from the command line
- Whether task discovery and execution patterns are documented for common use cases
Similar packages
copyleft · top 1,000 on PyPI
google-cloud-taskspermissive · top 1,000 on PyPI
ptyprocesspermissive · top 1,000 on PyPI
databricks-labs-blueprintunclear · top 1,000 on PyPI
pytest-runnerpermissive · top 1,000 on PyPI
pytest-json-ctrfpermissive · top 1,000 on PyPI
hydra-corepermissive · top 1,000 on PyPI
multitaskingpermissive · top 1,000 on PyPI
asn1cryptopermissive · top 1,000 on PyPI
browser-usepermissive · top 1,000 on PyPI