Registry / devops / go-task-bin

go-task-bin

JSON →
library3.51.1pypypiunverified

go-task-bin is a Python package that simplifies the installation of the Go-based Task task runner CLI. It ensures a specific, stable version of the `task` executable is available on your system, acting as a simpler alternative to Make or other build tools. The current version is 3.50.0, and it typically releases new versions in sync with major updates to the upstream Task CLI project.

pip install go-task-bin
INSTALL
IMPORT
SIG · GO-TASK-BIN
G
go-task-bin
devopspythonv3.51.1
Install
2.1s avg
Import
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v3.51.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.910 runs
installs and imports cleanly · install 0.0s · import 0.000s · 17.8MB
glibc
py 3.103.910 runs
installs and imports cleanly · install 2.1s · import 0.000s · 18MB
16MB installed
● package 16MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Task CLI (No Python imports)
This library installs a command-line executable. There are no Python symbols for direct programmatic use.
import task
go-task-bin installs the 'task' command-line interface written in Go. It does not provide Python modules for import or direct programmatic interaction from Python code.

The quickstart demonstrates installing `go-task-bin`, ensuring the `task` command is available, creating a basic `Taskfile.yml` to define tasks, and then running those tasks from the command line. Remember that `go-task-bin` installs a CLI tool, not a Python library to import.

# 1. Install the binary (if not already done) pip install go-task-bin # 2. Ensure ~/.local/bin is in your PATH (if on Linux/macOS) # Add this to your ~/.bashrc or ~/.zshrc: # export PATH="$HOME/.local/bin:$PATH" # Then run: source ~/.bashrc (or ~/.zshrc) # 3. Create a Taskfile.yml in your project directory # (Save this content as Taskfile.yml) # version: '3' # tasks: # hello: # cmds: # - echo "Hello from Task!" # build: # cmds: # - echo "Building project..." # - go build -o myapp ./cmd/myapp # run: # deps: [build] # cmds: # - ./myapp # 4. Run a task from your terminal task hello task build task run
task --version
Debug
Known issues
gotchaThe `task` executable is installed into a user-specific binary directory (e.g., `~/.local/bin` on Linux/macOS, or a Scripts directory in Python's user base on Windows). This directory may not be automatically added to your system's `PATH` environment variable, leading to 'command not found' errors.
fix
Manually add the installation directory to your `PATH` variable. For example, add `export PATH="$HOME/.local/bin:$PATH"` to your shell's configuration file (e.g., `.bashrc`, `.zshrc`) and then `source` the file or restart your terminal.
affects: All versions
gotcha`go-task-bin` installs a *pinned* version of the Task CLI. If you have an existing global `task` installation (e.g., via Homebrew, `apt`), using `go-task-bin` might lead to version conflicts or you might inadvertently run the globally installed version instead of the one managed by `pip`.
fix
Ensure your `PATH` prioritizes the `go-task-bin` managed path, or uninstall other global `task` installations if you intend to solely use the `pip` managed version. Update `go-task-bin` regularly using `pip install --upgrade go-task-bin` to get the latest pinned `Task` version.
affects: All versions
gotchaIt's common for users to misunderstand that `go-task-bin` is an installer for a *Go-based* task runner, not a Python-native task runner. It doesn't integrate directly with Python code execution beyond providing the CLI tool.
fix
Remember that `task` commands are executed in your shell environment. To run Python scripts, you would define `cmds` in your `Taskfile.yml` that invoke `python your_script.py`.
affects: All versions
Upgrade
Version history
3.51.1latest on PyPI · released May 17, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
go-task-bin — pip install go-task-bin · libregistry