Skip to main content

Prebuilt golang binary

Project description

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

Project details


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.1-py3-none-win_arm64.whl (67.5 MB view details)

Uploaded Python 3Windows ARM64

go_bin-1.26.1-py3-none-win_amd64.whl (71.2 MB view details)

Uploaded Python 3Windows x86-64

go_bin-1.26.1-py3-none-win32.whl (70.1 MB view details)

Uploaded Python 3Windows x86

go_bin-1.26.1-py3-none-manylinux_2_17_x86_64.whl (70.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

go_bin-1.26.1-py3-none-manylinux_2_17_s390x.whl (70.0 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ s390x

go_bin-1.26.1-py3-none-manylinux_2_17_ppc64le.whl (67.7 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

go_bin-1.26.1-py3-none-manylinux_2_17_i686.whl (68.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ i686

go_bin-1.26.1-py3-none-manylinux_2_17_aarch64.whl (66.9 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

go_bin-1.26.1-py3-none-macosx_11_0_arm64.whl (67.9 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

go_bin-1.26.1-py3-none-macosx_10_12_x86_64.whl (71.2 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: go_bin-1.26.1-py3-none-win_arm64.whl
  • Upload date:
  • Size: 67.5 MB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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.1-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 1dc3bdd1e2c80449ac680c6848c1c3dfbeead5e699df6fa9d46c91366a0a2fa9
MD5 1a8ce15e1885a613fb398ee317471927
BLAKE2b-256 9aa3ee565c3d874f95aa7af3bd58a4a90fae5cdf4475ea3b613af82d8bf547a5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.1-py3-none-win_amd64.whl
  • Upload date:
  • Size: 71.2 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","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.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e663332eada7e967caba05a682ce1b499fe95a8125c55515817692e287d3b268
MD5 7a4a318b289f8975d964fdcaaf91a169
BLAKE2b-256 04c191118d48b56508df54c3d091bd25d8e66577d120128df956e9bafbc6b129

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.1-py3-none-win32.whl
  • Upload date:
  • Size: 70.1 MB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","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.1-py3-none-win32.whl
Algorithm Hash digest
SHA256 2fc38248a9e67d5af064c06d9f8ec152e88130abd09182dcf11635ffef355a40
MD5 8732857327d8229c8e04b41c2dc55d9e
BLAKE2b-256 a93d9f5006bad20e32f7c3a8107e0817d4353fb51a8ca2b6d35ff08cb250fc3f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.1-py3-none-manylinux_2_17_x86_64.whl
  • Upload date:
  • Size: 70.2 MB
  • Tags: Python 3, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","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.1-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 31d11c66df592f6de454d5a29f01ac9ce8268b5f676f29f21be6fd9922aad66d
MD5 12af48639d3a976d88110fc5f93bff52
BLAKE2b-256 06e7c27b462b98379b515f66db07edfff6c4274b803d314056f969ce8394e7aa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.1-py3-none-manylinux_2_17_s390x.whl
  • Upload date:
  • Size: 70.0 MB
  • Tags: Python 3, manylinux: glibc 2.17+ s390x
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","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.1-py3-none-manylinux_2_17_s390x.whl
Algorithm Hash digest
SHA256 2e476ae7a8f52c0beb2cc34b2c9d365c8ac7f07fbd8fa2ea751e946444d974d1
MD5 cf781632b0a802649c47f851b6cfcbe9
BLAKE2b-256 1ac9340ac0cd08b53d13878cc382eccf66ea66394fcc6e2620bb5cfd0502430e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.1-py3-none-manylinux_2_17_ppc64le.whl
  • Upload date:
  • Size: 67.7 MB
  • Tags: Python 3, manylinux: glibc 2.17+ ppc64le
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","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.1-py3-none-manylinux_2_17_ppc64le.whl
Algorithm Hash digest
SHA256 d6cf64c7f06dfb799374be350be6ba5ed5cc49e548bb5cdad1680e15b3c55b78
MD5 49bd972325b35cf22d3d81e7fff2e3c1
BLAKE2b-256 4ba52adf379d534e1e56863c2ded90ccda16b0c2af848c5b62809722b11441cd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.1-py3-none-manylinux_2_17_i686.whl
  • Upload date:
  • Size: 68.5 MB
  • Tags: Python 3, manylinux: glibc 2.17+ i686
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","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.1-py3-none-manylinux_2_17_i686.whl
Algorithm Hash digest
SHA256 88a86850392028a4f4a35aa14eccd001fd10bb90399cb2c4b2bb07b8241e9f58
MD5 53330c58fca5d802ea4d23545350dd37
BLAKE2b-256 b44e2a354283f69405a774468b583d31c7c1461456445178d2667cbfdeff29b0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.1-py3-none-manylinux_2_17_aarch64.whl
  • Upload date:
  • Size: 66.9 MB
  • Tags: Python 3, manylinux: glibc 2.17+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","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.1-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 df3232f845892d8b5ac6ed6d6876acd65d8f13594a878b5f96c8f1f6263300c1
MD5 91407ec8da8454ab8ffc5bcf284325a2
BLAKE2b-256 2ee03eb4730da9fa94a62c8a82e90c7fc82016226a1a5d47fdef9d743896c314

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.1-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 67.9 MB
  • Tags: Python 3, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","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.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 485a955f7938b7841d994458998f1329111559bb980946ae20be4923d160ab41
MD5 c2f0ba10de9d574f3af26e65f841f283
BLAKE2b-256 c840d7d639c4b5173cc9aa7727d82b6eb57bd86314ab5ed70815296fc43e0af3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.1-py3-none-macosx_10_12_x86_64.whl
  • Upload date:
  • Size: 71.2 MB
  • Tags: Python 3, macOS 10.12+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","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.1-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 762de4f10fe365bb3355deff39751c18f5f7f2349271ce36c3d0e5442bbb3b70
MD5 3ee67b7e3f6074d3396e8d4cddc862f5
BLAKE2b-256 3b05a38dc20cceb6cb61bc9a41c7908af9ce5ed98335da7d5302bcc80eaadc6b

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 Pingdom Monitoring Sentry Error logging StatusPage Status page