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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3Windows x86

go_bin-1.26.5-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.5-py3-none-manylinux_2_17_s390x.whl (70.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ s390x

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

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

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

Uploaded Python 3manylinux: glibc 2.17+ i686

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

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

go_bin-1.26.5-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.5-py3-none-win_arm64.whl.

File metadata

  • Download URL: go_bin-1.26.5-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.28 {"installer":{"name":"uv","version":"0.11.28","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.5-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 b22c20591fd5195241f7dd5c84cac9cbf169fc7a264d1b2f38957d68c8a10551
MD5 b6da51638c79e26acb8388abc7497a04
BLAKE2b-256 87e93bcbe7a9befc26ace5e87587e6ca06d69098d13eb4552278c5ec7d01a478

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.5-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.28 {"installer":{"name":"uv","version":"0.11.28","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.5-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 821b9cb3062c7883f0343c43e6a83d14ccfe8f260f3f688e1a95df1d9bb54037
MD5 2573e2b4feb40930e86ca9d504451125
BLAKE2b-256 f95de7c95cf2703fb69c710de4d3366ae634abe37478fa7ca3d818e92de5c9e9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.5-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.28 {"installer":{"name":"uv","version":"0.11.28","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.5-py3-none-win32.whl
Algorithm Hash digest
SHA256 3f370f497de59a4d1be1777105302e8ffd2c28f7537ecdaee01a155beb53c5f2
MD5 d8e5094140524e32174f682ac96028e0
BLAKE2b-256 251519ef78b8e8c09e0e42c877ae6fc104dab9a70c6683f2a66fff8f9786dbfb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.5-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.28 {"installer":{"name":"uv","version":"0.11.28","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.5-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 71cb34d717d707ad51583361773dec96bfd38e8800e32bba4f3c2db752b21090
MD5 8f72799c106194dd369d465829aafea1
BLAKE2b-256 bcc87ed8a047dc9ec0add7d24326f6664f7591133ef72c81b003566cd45f402c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.5-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.11.28 {"installer":{"name":"uv","version":"0.11.28","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.5-py3-none-manylinux_2_17_s390x.whl
Algorithm Hash digest
SHA256 a688bc0f9db6bb111a1dcf99dbfa53ab67560df4340c3fe695863e313d59ec57
MD5 4786b9456c2104d076818f505892848a
BLAKE2b-256 eab47ac42378af469c093f680512d8584c822a3628e38d243e8ab8d6c9ecd3b0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.5-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.28 {"installer":{"name":"uv","version":"0.11.28","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.5-py3-none-manylinux_2_17_ppc64le.whl
Algorithm Hash digest
SHA256 8329d3b3df42bd97441c25bc937cbbeccba339d687502dd0a439576558ed8f26
MD5 762089b918fe46b2aa2a1ba6d1e078be
BLAKE2b-256 1d0c2c3202dc4d8ee3be0e584525bb2a5699b6b815f08a9bc401939f66482ace

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.5-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.28 {"installer":{"name":"uv","version":"0.11.28","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.5-py3-none-manylinux_2_17_i686.whl
Algorithm Hash digest
SHA256 d0212fc9577c318949f1864335fa08e539bb0bf80a3ce6e17b68860f839ea249
MD5 756a16bde8b441b7c73f463449470e1c
BLAKE2b-256 658f11864041c46d7bf2881d8ed6568d5ab561cbd5fb08bd326bf068158a64c2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.5-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.28 {"installer":{"name":"uv","version":"0.11.28","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.5-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 af2a9813d3ffc1121e8c9858bad5354dc1c0df42352e0bd18c3172bc479910dc
MD5 2784e5f2a1d915b467605debc1b75bd8
BLAKE2b-256 66f4134b688f4dc00de28b9bdc256a5f0b4ebdb2bd41ee9a24ab99126a624d50

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.5-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.28 {"installer":{"name":"uv","version":"0.11.28","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.5-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 885e82d86fee0914514da8a6cbb2225b42932ffd9e568b37d121bc4cfa1d90fd
MD5 51672ef1bbf67e252b3bfc0e84e1e03b
BLAKE2b-256 86b798fa39689ffc4c66cf500e15755391abbc7d1daff1919adddc8653056218

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.5-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.28 {"installer":{"name":"uv","version":"0.11.28","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.5-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 5cdc3109e2df221e59f9cf7db6d5547b0baf74aa5d60d651813cc83ffe4fe393
MD5 d4cc35e68f6b53b4c14616ee626401d1
BLAKE2b-256 2df87ec7f9731e1fe99524000ec993680add2ae2637c895e4fb23f661b03a976

See more details on using hashes here.

Release history Release notifications | RSS feed

1.27.0

10 files

1.26.6

10 files

This release

1.26.5 This release

10 files

1.26.4

10 files

1.26.3

10 files

1.26.2

10 files

1.26.1

10 files

1.26.0

6 files

1.25.5

6 files

1.25.4

6 files

1.25.3

6 files

1.25.2

6 files

1.25.1

6 files

1.25.0

8 files

1.24.11

6 files

1.24.3

8 files

1.23.9

8 files

1.23.4.4

8 files

1.23.3.1

8 files

1.23.2

8 files

1.23.1

8 files

1.22.10

8 files

1.21.13

8 files

Supported by

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