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

Uploaded Python 3Windows ARM64

go_bin-1.27.0-py3-none-win_amd64.whl (75.4 MB view details)

Uploaded Python 3Windows x86-64

go_bin-1.27.0-py3-none-win32.whl (74.3 MB view details)

Uploaded Python 3Windows x86

go_bin-1.27.0-py3-none-manylinux_2_17_x86_64.whl (74.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

go_bin-1.27.0-py3-none-manylinux_2_17_s390x.whl (74.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ s390x

go_bin-1.27.0-py3-none-manylinux_2_17_ppc64le.whl (71.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

go_bin-1.27.0-py3-none-manylinux_2_17_i686.whl (72.7 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ i686

go_bin-1.27.0-py3-none-manylinux_2_17_aarch64.whl (70.9 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

go_bin-1.27.0-py3-none-macosx_11_0_arm64.whl (71.9 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

go_bin-1.27.0-py3-none-macosx_10_12_x86_64.whl (75.5 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: go_bin-1.27.0-py3-none-win_arm64.whl
  • Upload date:
  • Size: 71.5 MB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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.27.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 5cf53bbbaf45b23e353e6f48169de386b8a23c613c63ea490a6bf28bf7796dc8
MD5 31b615d1eaaa3b189b50521c71624274
BLAKE2b-256 f031991b86c087ecd471301406d231632cc5aa8fb0c1c7f7c3845897ec0b4337

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.27.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 75.4 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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.27.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 d25b721f39838fb76ba4b07e06d068e1f8c6e99abe01fdfeaa053758e0bc4ba5
MD5 67a91bd409f98debe8db85421e64d8cc
BLAKE2b-256 93d6ca068a628eb4e6d2ba6ed1ef0dcf30a20b8a3975f95b09e21eff2cd643a9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.27.0-py3-none-win32.whl
  • Upload date:
  • Size: 74.3 MB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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.27.0-py3-none-win32.whl
Algorithm Hash digest
SHA256 26c0fe9dd1962b75253cd1f949bb487cf5f95b5e05b049ed77101989e620625d
MD5 bad3d44da414390d9aff75212e06ca5a
BLAKE2b-256 65a0c0a7165adc06086e7f043f2a391cc5471a29fe2f9c85a833da17e3f17246

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.27.0-py3-none-manylinux_2_17_x86_64.whl
  • Upload date:
  • Size: 74.5 MB
  • Tags: Python 3, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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.27.0-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 201c38d9aa07f5d1f7a5196b1741d8cd883e28367438e217e1be6ec6f01053d6
MD5 5537ef112351c46908e593072d751eb9
BLAKE2b-256 73a59b3247037505ad1f7e37c8d572f7c44419f50701b2dcdff191b359f0d747

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.27.0-py3-none-manylinux_2_17_s390x.whl
  • Upload date:
  • Size: 74.2 MB
  • Tags: Python 3, manylinux: glibc 2.17+ s390x
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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.27.0-py3-none-manylinux_2_17_s390x.whl
Algorithm Hash digest
SHA256 f3230cf5bebedb75778888aaf5ce9e2eff8ec36c468c575c1e56ebf60c040732
MD5 16eec4f05f0ba4e6c5929ee49adc1c73
BLAKE2b-256 50bccaa5f9d7a93a7486f9e11ca966da06fb369e80f7d820d80fbc1e009d78c1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.27.0-py3-none-manylinux_2_17_ppc64le.whl
  • Upload date:
  • Size: 71.8 MB
  • Tags: Python 3, manylinux: glibc 2.17+ ppc64le
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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.27.0-py3-none-manylinux_2_17_ppc64le.whl
Algorithm Hash digest
SHA256 fb01c6e36dc09402130244b3018ec1669e614b418beb80ed9d3a5fecfa0e6bb5
MD5 59d832faa7d16a5aac04fb073d771793
BLAKE2b-256 0cbd877e695fb9077f7d0d0dfc3587eca6f791fe5f560726ede8c9ccec075dae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.27.0-py3-none-manylinux_2_17_i686.whl
  • Upload date:
  • Size: 72.7 MB
  • Tags: Python 3, manylinux: glibc 2.17+ i686
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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.27.0-py3-none-manylinux_2_17_i686.whl
Algorithm Hash digest
SHA256 7b1a37fac9dbd9dde386112b1316a64f23b9f02f2d1aec3e902853e534314288
MD5 660faf05ebdd01cb0dfbc6431299bb5a
BLAKE2b-256 4f0445fbc0c6a1d48b6d5f8ee5a67ab992cf60e7f38449b96a27932da0a16e90

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.27.0-py3-none-manylinux_2_17_aarch64.whl
  • Upload date:
  • Size: 70.9 MB
  • Tags: Python 3, manylinux: glibc 2.17+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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.27.0-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 00aa063795987fe8799ec21548cff74d4d8665862c374787770dff5551eced1e
MD5 6a04710c29fc0e42baf80452f2f3a481
BLAKE2b-256 ffd6bcbc55ed00c3385694d4fedf7fec9be27e4bc2722eb0e25c9811a9eceaba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.27.0-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 71.9 MB
  • Tags: Python 3, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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.27.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0216cd2ea8ebd04d100d4ecd60bdfa234eefd54e8f6a4c316d03dee47935ea55
MD5 57ab76d201286e51a7f6e89824dac904
BLAKE2b-256 bf5785654ad356fe63a151e5d9f569a34ffd67998d132b694e5f83e21694cc84

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.27.0-py3-none-macosx_10_12_x86_64.whl
  • Upload date:
  • Size: 75.5 MB
  • Tags: Python 3, macOS 10.12+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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.27.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 5803874a776d7751893d2765edf62ec6332a78253d44ad3174c3f27a79f87564
MD5 c5977ea345daa1aee5b131d9c103d874
BLAKE2b-256 7cc052210ae5a2f35c7925139595700e49362a764e899a45c0efc672901eeb2f

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