Invoke is Python task execution library. It draws inspiration from various sources to arrive at a powerful and clean feature set. Like Ruby's Rake tool and Invoke's own predecessor Fabric 1.x, it provides a clean, high level API for running shell commands and defining/organizing task functions from a
Where Fabric 1.x considered the command-line approach the default mode of use, Invoke (and tools built on it) are equally at home embedded in your own Python code or a REPL.
Invoke is available via the PyPI package manager.