Skip to main content

Prebuilt Go Runtime

Deploy Status Go Latest Release PyPI

Overview

This package provides a prebuilt Go runtime for integrating Golang artifacts into Python projects.

Features

  • Automatic Go runtime download for multiple platforms
  • Cross-platform support (Windows, Linux, macOS)
  • Declarative integration with python build systems

Using the go binary

One potential use case for go-bin is to facilitate managing the go binary. Rather than managing multiple go installations, utilize tools such as uv to switch between environments.

Without needing anything other than uv, building a golang binary becomes as simple as,

uvx --from=go-bin go build ./...

Using go-bin for packaging

Whether you're building standalone go binaries or writing c-extensions in golang, this package allows a declarative and hermetic way to build golang source code.

Simply define a build dependency on go-bin,

[build-system]
requires = ["hatchling", "go-bin~=1.23.4"]
build-backend = "hatchling.build"

It is recommended to use compatible release versions (~=). Major, minor, and patch versions of go-bin will always correlate with Go versions while the latter digit is reserved for changes in packaging.

then use it in your build scripts as if it were your system's version of go. For an example, see github.com/jmelahman/connections.

Building the wheel locally

The build depends on a few environment variables to be set. For example, to build the v1.25.5 version for x64 Linux, run,

GITHUB_REF_NAME=v1.25.5 GOOS=linux GOARCH=amd64 uv build --wheel

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

go_bin-1.26.6-py3-none-win_arm64.whl (67.7 MB view details)

Uploaded Python 3Windows ARM64

go_bin-1.26.6-py3-none-win_amd64.whl (71.3 MB view details)

Uploaded Python 3Windows x86-64

go_bin-1.26.6-py3-none-win32.whl (70.2 MB view details)

Uploaded Python 3Windows x86

go_bin-1.26.6-py3-none-manylinux_2_17_x86_64.whl (70.3 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

go_bin-1.26.6-py3-none-manylinux_2_17_s390x.whl (70.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ s390x

go_bin-1.26.6-py3-none-manylinux_2_17_ppc64le.whl (67.9 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

go_bin-1.26.6-py3-none-manylinux_2_17_i686.whl (68.6 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ i686

go_bin-1.26.6-py3-none-manylinux_2_17_aarch64.whl (67.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

go_bin-1.26.6-py3-none-macosx_11_0_arm64.whl (68.0 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

go_bin-1.26.6-py3-none-macosx_10_12_x86_64.whl (71.3 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file go_bin-1.26.6-py3-none-win_arm64.whl.

File metadata

  • Download URL: go_bin-1.26.6-py3-none-win_arm64.whl
  • Upload date:
  • Size: 67.7 MB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.4 {"installer":{"name":"uv","version":"0.12.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for go_bin-1.26.6-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 13a3a133530ffd2005b2ce805a93b8bf3f4712807af16f31aeea6aecfaa55721
MD5 88003ffed2ec979443dfa691370a2a65
BLAKE2b-256 7e716763a89c4f6cd99e917ad590ec2a103b1f4ff4ae5de4823488a7f5f94943

See more details on using hashes here.

File details

Details for the file go_bin-1.26.6-py3-none-win_amd64.whl.

File metadata

  • Download URL: go_bin-1.26.6-py3-none-win_amd64.whl
  • Upload date:
  • Size: 71.3 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.4 {"installer":{"name":"uv","version":"0.12.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for go_bin-1.26.6-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 2440ec27b056a19e9ce7c7e4c323f93a1ec0aa220b83838b9adf319487091582
MD5 361787eee74f1049927998b5cb7c3eb8
BLAKE2b-256 ea78d122e34517054ddae335a5559f7b2f138ba4c9897abadb993dfadc23b56c

See more details on using hashes here.

File details

Details for the file go_bin-1.26.6-py3-none-win32.whl.

File metadata

  • Download URL: go_bin-1.26.6-py3-none-win32.whl
  • Upload date:
  • Size: 70.2 MB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.4 {"installer":{"name":"uv","version":"0.12.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for go_bin-1.26.6-py3-none-win32.whl
Algorithm Hash digest
SHA256 efc17389b78138c27ce3c74275a146ce5e2b39c3969f57a170bbcfe303baf91b
MD5 91d5b1d8778342202ca4487b1bc8b100
BLAKE2b-256 2a404eeecf5b61af375576da34286c94fd7eed9c19c09267b850802456682b33

See more details on using hashes here.

File details

Details for the file go_bin-1.26.6-py3-none-manylinux_2_17_x86_64.whl.

File metadata

  • Download URL: go_bin-1.26.6-py3-none-manylinux_2_17_x86_64.whl
  • Upload date:
  • Size: 70.3 MB
  • Tags: Python 3, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.4 {"installer":{"name":"uv","version":"0.12.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for go_bin-1.26.6-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 565537475730612936bf42edddff5d627133c108d9a01561f8033ed09dc0c2ff
MD5 35021ad9420e5f4ef9941a56033fc19b
BLAKE2b-256 eeb206d81a6c43521c6f83d4244d9717f95dc524a81ec5820974304f47ea1202

See more details on using hashes here.

File details

Details for the file go_bin-1.26.6-py3-none-manylinux_2_17_s390x.whl.

File metadata

  • Download URL: go_bin-1.26.6-py3-none-manylinux_2_17_s390x.whl
  • Upload date:
  • Size: 70.1 MB
  • Tags: Python 3, manylinux: glibc 2.17+ s390x
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.4 {"installer":{"name":"uv","version":"0.12.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for go_bin-1.26.6-py3-none-manylinux_2_17_s390x.whl
Algorithm Hash digest
SHA256 46658f18ce37d71122d25fa48bd7457cf46a3389345e86c5b6decabf1d5ec6ad
MD5 15a077a2e2718baa0efda86e6c614b9b
BLAKE2b-256 eca90144e56f57bf91cf7de02b2bfea256e20e5d47fa1e1540bd8db29b725196

See more details on using hashes here.

File details

Details for the file go_bin-1.26.6-py3-none-manylinux_2_17_ppc64le.whl.

File metadata

  • Download URL: go_bin-1.26.6-py3-none-manylinux_2_17_ppc64le.whl
  • Upload date:
  • Size: 67.9 MB
  • Tags: Python 3, manylinux: glibc 2.17+ ppc64le
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.4 {"installer":{"name":"uv","version":"0.12.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for go_bin-1.26.6-py3-none-manylinux_2_17_ppc64le.whl
Algorithm Hash digest
SHA256 1f4b3a6f8d7987c032d821ebb69e84ab9be7913b1cd8c45514d9aea21e3dfb7d
MD5 c52df45900ddf5db0b0d301d05ff332c
BLAKE2b-256 c1ffb449b16e54c4490e6549f495e25a214461049e0721ac8817c28e734dd196

See more details on using hashes here.

File details

Details for the file go_bin-1.26.6-py3-none-manylinux_2_17_i686.whl.

File metadata

  • Download URL: go_bin-1.26.6-py3-none-manylinux_2_17_i686.whl
  • Upload date:
  • Size: 68.6 MB
  • Tags: Python 3, manylinux: glibc 2.17+ i686
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.4 {"installer":{"name":"uv","version":"0.12.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for go_bin-1.26.6-py3-none-manylinux_2_17_i686.whl
Algorithm Hash digest
SHA256 c0dbc08e9a5a827966c8f2d6fb627668e78ab0f9732035564e24d046a185d92b
MD5 09aec6bd8fddcb76b3969869457524b4
BLAKE2b-256 72e680d3a8e7007794e0fb41ce1147b8eeaf33a6d6d19459826269afcf133934

See more details on using hashes here.

File details

Details for the file go_bin-1.26.6-py3-none-manylinux_2_17_aarch64.whl.

File metadata

  • Download URL: go_bin-1.26.6-py3-none-manylinux_2_17_aarch64.whl
  • Upload date:
  • Size: 67.1 MB
  • Tags: Python 3, manylinux: glibc 2.17+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.4 {"installer":{"name":"uv","version":"0.12.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for go_bin-1.26.6-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 ab703942cbb119637e5306085b6f1f14eb51bd6a98b56dd2ff0a06b5afb742f8
MD5 c9c246381e21087aaa208b79caa06ff3
BLAKE2b-256 34babf3285c090488bd5316c90fb57aa2ef046b66094e8f1c022bfc1615470b2

See more details on using hashes here.

File details

Details for the file go_bin-1.26.6-py3-none-macosx_11_0_arm64.whl.

File metadata

  • Download URL: go_bin-1.26.6-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 68.0 MB
  • Tags: Python 3, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.4 {"installer":{"name":"uv","version":"0.12.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for go_bin-1.26.6-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7f30d0141d8052d9349b6e26c679ff51d14465ae3362ca9d1623ba1076e376a4
MD5 e59c191fc4e974044ce15e3b3c1edaa8
BLAKE2b-256 a72a1d4910acbf9f93906d1ae02d0144bab54278abdb11c6dabc9aff1a11cda3

See more details on using hashes here.

File details

Details for the file go_bin-1.26.6-py3-none-macosx_10_12_x86_64.whl.

File metadata

  • Download URL: go_bin-1.26.6-py3-none-macosx_10_12_x86_64.whl
  • Upload date:
  • Size: 71.3 MB
  • Tags: Python 3, macOS 10.12+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.4 {"installer":{"name":"uv","version":"0.12.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for go_bin-1.26.6-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 2f8d76337bdf2e8e12b655c2f2c4827a202d4198c5cb87f0fde8b286bfa5b816
MD5 83de520fbd3fa07f223144ac72f8b7e4
BLAKE2b-256 fcf645e85ef895084ded034e577d225943f4b8d267e001dabb55e9289deb5b18

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page