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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3Windows x86

go_bin-1.26.4-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.4-py3-none-manylinux_2_17_s390x.whl (70.0 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ s390x

go_bin-1.26.4-py3-none-manylinux_2_17_ppc64le.whl (67.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

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

Uploaded Python 3manylinux: glibc 2.17+ i686

go_bin-1.26.4-py3-none-manylinux_2_17_aarch64.whl (67.0 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

go_bin-1.26.4-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.4-py3-none-win_arm64.whl.

File metadata

  • Download URL: go_bin-1.26.4-py3-none-win_arm64.whl
  • Upload date:
  • Size: 67.6 MB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.18 {"installer":{"name":"uv","version":"0.11.18","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.4-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 d5d9dfb0f42097481ad25ccb8bfaa3a72103b4949f853db5625821dfb0c389fc
MD5 2e5b95f1ca15f9d6043f92ff874137c2
BLAKE2b-256 a8fb9577a0dd35585d1aa624e009b5dfe0630d6eb10998484a02babbe48db5c3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.4-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.11.19 {"installer":{"name":"uv","version":"0.11.19","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.4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 4690def65e5eb8c176358f9fe535cb6ca6336159b363b8fabdf27a44a4fb8c26
MD5 58b545ae12eb70845eb8bca6f3570917
BLAKE2b-256 a12f24d2bf083d9c95e57fdbef56b533def8fddba0f10429feb9395d27487440

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.4-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.18 {"installer":{"name":"uv","version":"0.11.18","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.4-py3-none-win32.whl
Algorithm Hash digest
SHA256 680bbf04459e33ced1a88761de312074d8590756845bead38b5d7b04bf388b18
MD5 c0b75f3df9034e48beb79bb25f609a8a
BLAKE2b-256 d124504318f487f28be357db6bbb17530f82f61af3392b7e2f2467470349aa67

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.4-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.11.19 {"installer":{"name":"uv","version":"0.11.19","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.4-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 198f428b0b6f8d045a881e3bd271d5c4735678d22147f606141d9535efa38fb4
MD5 d01803faa5acb64514bdc07de4287f41
BLAKE2b-256 f3db8c95d4638a27a3b6a32263206df11eee0adc27dc5248e6530ade055395f8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.4-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.18 {"installer":{"name":"uv","version":"0.11.18","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.4-py3-none-manylinux_2_17_s390x.whl
Algorithm Hash digest
SHA256 7bba104521b47d2c68a25f3a2a1001659aeafb30afe64babda287f9e8d13f456
MD5 384658803e937a43e1cb0fdbad7b3002
BLAKE2b-256 aab41071ea67995e71714a3ac7b204cf7618ec1732c6a3928a7ee817d672bc28

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.4-py3-none-manylinux_2_17_ppc64le.whl
  • Upload date:
  • Size: 67.8 MB
  • Tags: Python 3, manylinux: glibc 2.17+ ppc64le
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.18 {"installer":{"name":"uv","version":"0.11.18","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.4-py3-none-manylinux_2_17_ppc64le.whl
Algorithm Hash digest
SHA256 9afea0f9fbcd7a763134b4a5c5d2f749f0b83e9e0b8accaec636b010d46d565c
MD5 4f41231cd9650d911bbbde8b202c21f3
BLAKE2b-256 ceee0f4bd378838187d68463c68c3e68778cf5f1c0035d668762202643f565e9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.4-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.11.18 {"installer":{"name":"uv","version":"0.11.18","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.4-py3-none-manylinux_2_17_i686.whl
Algorithm Hash digest
SHA256 6445e93b7a8d184f169f1e38b592d99002022c6b55e6bce82629ce9380e9df5b
MD5 143eeb9129d6c32d681dd8b3129fd682
BLAKE2b-256 b8591970f99a5412ebd1198bc024ac122e1e4e306a8b262fb89269d54346bca1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.4-py3-none-manylinux_2_17_aarch64.whl
  • Upload date:
  • Size: 67.0 MB
  • Tags: Python 3, manylinux: glibc 2.17+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","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.4-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 cee6eba0ac534ad0675de4bb4e4ac04c8a2ccea489d272547462ad563fae6758
MD5 0e38c7f6658b836335c3d1a665e080a6
BLAKE2b-256 e7b350e4f1d4162472c6a315d1c34c9af8158e0637005aae543ce3bc843cdcf9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.4-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.11.19 {"installer":{"name":"uv","version":"0.11.19","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.4-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4752ee80b0c0e19798f8caa051ae64aebb0d13185a07f109adbd04305da29def
MD5 9e0bf0a31670e3b433ae435864035447
BLAKE2b-256 ec9e29b7a0d21605d0945ae733ec407e261d7ba77384de925a650ed310c4980b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.4-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.11.18 {"installer":{"name":"uv","version":"0.11.18","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.4-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 bf89498f39bd059d3f31b84a8f667754838a7732d68344ca00c41c0de6f1b135
MD5 8f12d97bf15ea8b39f1260fb9776d803
BLAKE2b-256 c7294ff7862fe4ff2b0c32d22ed52824e02df5eb0e069b6708b0737c2436c7ef

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