Taskipy

1.14.1 · active · verified Sun Apr 12

Taskipy is a task runner for Python projects that streamlines development workflows by defining and executing automation tasks. It uses a `pyproject.toml` file for configuration, offering an `npm run-script`-inspired interface for common operations like linting, testing, and building. The current version is 1.14.1, with a consistent release cadence addressing bug fixes and minor features.

Warnings

Install

Imports

Quickstart

Define tasks in your `pyproject.toml` under the `[tool.taskipy.tasks]` section. Each task is a key-value pair where the key is the task name and the value is the shell command. Tasks can also be defined as tables to include a `help` message or specify a `cwd`. Run tasks using the `task <task_name>` command in your terminal.

# pyproject.toml
[tool.taskipy.tasks]
hello = "echo Hello, Taskipy!"
greet = { cmd = "python -c 'import os; print(f\"Hello, {os.environ.get(\"USER\", \"World\")}\")'", help = "Greets the current user" }

# In your terminal, from project root:
# task -l
# task hello
# task greet

view raw JSON →