pyinvoke
« Back to VersTracker
Description:
Pythonic task management & command execution
Type: Formula  |  Latest Version: 2.2.1@0  |  Tracked Since: Oct 13, 2025
Links: Homepage  |  @pyinvoke  |  formulae.brew.sh
Category: Developer tools
Tags: python automation task-runner dev-tools cli
Install: brew install pyinvoke
About:
PyInvoke is a Python library for managing and executing tasks defined in Python code. It provides a clean, Pythonic API for subprocess execution and organizing tasks into collections. The tool simplifies command-line automation by bridging the gap between shell scripts and full Python applications.
Key Features:
  • Declarative task definition using decorators
  • Built-in support for subprocess execution and streaming
  • Hierarchical task collections and dependency management
  • Flexible command-line parsing and help generation
  • Semi-automated documentation generation
Use Cases:
  • Automating software build and deployment pipelines
  • Creating custom CLI tools for project-specific workflows
  • Replacing complex shell scripts with maintainable Python code
Alternatives:
  • Click – Click focuses on creating CLI interfaces, while Invoke focuses on task execution and automation
  • Fabric – Fabric is built on top of Invoke and specializes in SSH-based remote execution and deployment
  • Make – Make is a build automation tool, while Invoke provides Python-native scripting with better cross-platform support
Version History
Detected Version Rev Change Commit
Oct 13, 2025 10:30am 0 VERSION_BUMP 8c5fb437