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

Metadata

Release files for go-bin 1.27.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for go-bin 1.27.3
File Actions
go_bin-1.27.3-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for go_bin-1.27.3-py3-none-win_arm64.whl
go_bin-1.27.3-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for go_bin-1.27.3-py3-none-win_amd64.whl
go_bin-1.27.3-py3-none-win32.whl Python 3 none Windows x86-32 Details for go_bin-1.27.3-py3-none-win32.whl
go_bin-1.27.3-py3-none-manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for go_bin-1.27.3-py3-none-manylinux_2_17_x86_64.whl
go_bin-1.27.3-py3-none-manylinux_2_17_s390x.whl Python 3 none Linux glibc 2.17+ IBM System/390x Details for go_bin-1.27.3-py3-none-manylinux_2_17_s390x.whl
go_bin-1.27.3-py3-none-manylinux_2_17_ppc64le.whl Python 3 none Linux glibc 2.17+ PowerPC 64-le Details for go_bin-1.27.3-py3-none-manylinux_2_17_ppc64le.whl
go_bin-1.27.3-py3-none-manylinux_2_17_i686.whl Python 3 none Linux glibc 2.17+ x86-32 Details for go_bin-1.27.3-py3-none-manylinux_2_17_i686.whl
go_bin-1.27.3-py3-none-manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for go_bin-1.27.3-py3-none-manylinux_2_17_aarch64.whl
go_bin-1.27.3-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details for go_bin-1.27.3-py3-none-macosx_11_0_x86_64.whl
go_bin-1.27.3-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for go_bin-1.27.3-py3-none-macosx_11_0_arm64.whl

Total release size: 733.5 MB

Release files / go_bin-1.27.3-py3-none-win_arm64.whl

Download URL go_bin-1.27.3-py3-none-win_arm64.whl
Size 71.6 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
d32ff743ee4bacf6f0e9190fe521a12d760bee362f9e4410d25dbdf09a852488
BLAKE2b-256 checksum
How to use checksums
08de7a539af934ee278143dd8a2571cdb24f8510134b0b09873cefb981fdeb8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.3 {"installer":{"name":"uv","version":"0.13.3","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}

Release files / go_bin-1.27.3-py3-none-win_amd64.whl

Download URL go_bin-1.27.3-py3-none-win_amd64.whl
Size 75.5 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
8b164e520dc4ff2634946e991ad2cd5ef5d90e65a0420ac159807a4421572796
BLAKE2b-256 checksum
How to use checksums
a590d3e03af781d39b742771cfdb3eb7d7ba61988ca099a1ee615b815bce7fd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.3 {"installer":{"name":"uv","version":"0.13.3","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}

Release files / go_bin-1.27.3-py3-none-win32.whl

Download URL go_bin-1.27.3-py3-none-win32.whl
Size 74.4 MB
Tags Python 3 Windows x86-32
SHA-256 checksum
How to use checksums
feb1a1864eae2ff662f495c8a9e5f986175af83628f067d03cf33c8cc89c200c
BLAKE2b-256 checksum
How to use checksums
2f4a326d137df05a58ecaff3d326b8806a1d93c9c33a020228322eddd368c954
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.3 {"installer":{"name":"uv","version":"0.13.3","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}

Release files / go_bin-1.27.3-py3-none-manylinux_2_17_x86_64.whl

Download URL go_bin-1.27.3-py3-none-manylinux_2_17_x86_64.whl
Size 74.6 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
ae9a8cfefeacb582f53ff489a3b83d729256a284ac0f7f37b179216ac4bcb69d
BLAKE2b-256 checksum
How to use checksums
edd127aff47dacff1e8aff82a84a90ea61e56dc268117cad0a482cfb476f99af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.3 {"installer":{"name":"uv","version":"0.13.3","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}

Release files / go_bin-1.27.3-py3-none-manylinux_2_17_s390x.whl

Download URL go_bin-1.27.3-py3-none-manylinux_2_17_s390x.whl
Size 74.3 MB
Tags Linux glibc 2.17+ IBM System/390x Python 3
SHA-256 checksum
How to use checksums
7cf0237f1f79b1f5142d23815f39894e8944bfd92bc22f1d304f1d8ea7727cfe
BLAKE2b-256 checksum
How to use checksums
f0fcb2c491d8c785076f4e87dd92a41742097190c4f3c98f8b7c3aad639a8e1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.3 {"installer":{"name":"uv","version":"0.13.3","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}

Release files / go_bin-1.27.3-py3-none-manylinux_2_17_ppc64le.whl

Download URL go_bin-1.27.3-py3-none-manylinux_2_17_ppc64le.whl
Size 71.8 MB
Tags Linux glibc 2.17+ PowerPC 64-le Python 3
SHA-256 checksum
How to use checksums
185135e45f945a7a98cca4b6cbab22bb111bd265cf4441a788e0b1bf737764cb
BLAKE2b-256 checksum
How to use checksums
a1ad51a5bf5d8b9c651933e58880336b8b0b321c4daa53368b0708cd3342757d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.3 {"installer":{"name":"uv","version":"0.13.3","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}

Release files / go_bin-1.27.3-py3-none-manylinux_2_17_i686.whl

Download URL go_bin-1.27.3-py3-none-manylinux_2_17_i686.whl
Size 72.8 MB
Tags Linux glibc 2.17+ x86-32 Python 3
SHA-256 checksum
How to use checksums
fc2deb1c33fcab231dd004d103b1cbbdb329645d1857c01800e0ce5a0c386f61
BLAKE2b-256 checksum
How to use checksums
3bde1c33e9ac13ae54858626275bf138ecea152e4d0cfa125b4f3a10ea262c51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.3 {"installer":{"name":"uv","version":"0.13.3","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}

Release files / go_bin-1.27.3-py3-none-manylinux_2_17_aarch64.whl

Download URL go_bin-1.27.3-py3-none-manylinux_2_17_aarch64.whl
Size 70.9 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
4b2509fd16aa094115a65d1987b179dc39c15a030fdcd67d61933f37637277af
BLAKE2b-256 checksum
How to use checksums
40148f4be7432023010ba5642fb35e5cd362a688451f114b32e1f8d8081fe0b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.3 {"installer":{"name":"uv","version":"0.13.3","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}

Release files / go_bin-1.27.3-py3-none-macosx_11_0_x86_64.whl

Download URL go_bin-1.27.3-py3-none-macosx_11_0_x86_64.whl
Size 75.6 MB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
553c8e419eabe5f212eb20e1dd9ef6f4e496647766a009de23d86a86acebc044
BLAKE2b-256 checksum
How to use checksums
ab52dea0243ca7377289aa0aea73657c30ffe67a308d8bd460b66ce5febe845a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.3 {"installer":{"name":"uv","version":"0.13.3","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}

Release files / go_bin-1.27.3-py3-none-macosx_11_0_arm64.whl

Download URL go_bin-1.27.3-py3-none-macosx_11_0_arm64.whl
Size 72.0 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
57dd9899a6784e40d7aae726bddeaa5d802ca1d9cd434ee08878dc2726bbdc09
BLAKE2b-256 checksum
How to use checksums
e4ae85e43d1879bf8027f2bb04e5db68de7735251a0dc6e896275894437089ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.3 {"installer":{"name":"uv","version":"0.13.3","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}

Security for go-bin 1.27.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page