skillfed

invoke

Pythonic task execution

invoke Permissive license BSD-2-Clause Active 4,768 v3.0.3 released

Install

invoke on PyPI

pip

pip install invoke

uv

uv add invoke

poetry

poetry add invoke

Package 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

Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: System AdministratorsOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIXOperating System :: UnixProgramming 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.14Programming Language :: Python :: 3.9Topic :: Software DevelopmentTopic :: Software Development :: Build ToolsTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTopic :: System :: Software DistributionTopic :: System :: Systems Administration

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...

Read as markdown · JSON record · Source repository · Docs

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
python task runnershell command executioncli task automationpython build taskssubprocess managementinvoke taskspythonic task execution

Similar packages