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.4

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.4
File Actions
go_bin-1.27.4-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for go_bin-1.27.4-py3-none-win_arm64.whl
go_bin-1.27.4-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for go_bin-1.27.4-py3-none-win_amd64.whl
go_bin-1.27.4-py3-none-win32.whl Python 3 none Windows x86-32 Details for go_bin-1.27.4-py3-none-win32.whl
go_bin-1.27.4-py3-none-manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for go_bin-1.27.4-py3-none-manylinux_2_17_x86_64.whl
go_bin-1.27.4-py3-none-manylinux_2_17_s390x.whl Python 3 none Linux glibc 2.17+ IBM System/390x Details for go_bin-1.27.4-py3-none-manylinux_2_17_s390x.whl
go_bin-1.27.4-py3-none-manylinux_2_17_ppc64le.whl Python 3 none Linux glibc 2.17+ PowerPC 64-le Details for go_bin-1.27.4-py3-none-manylinux_2_17_ppc64le.whl
go_bin-1.27.4-py3-none-manylinux_2_17_i686.whl Python 3 none Linux glibc 2.17+ x86-32 Details for go_bin-1.27.4-py3-none-manylinux_2_17_i686.whl
go_bin-1.27.4-py3-none-manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for go_bin-1.27.4-py3-none-manylinux_2_17_aarch64.whl
go_bin-1.27.4-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details for go_bin-1.27.4-py3-none-macosx_11_0_x86_64.whl
go_bin-1.27.4-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for go_bin-1.27.4-py3-none-macosx_11_0_arm64.whl

Total release size: 734.1 MB

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

Download URL go_bin-1.27.4-py3-none-win_arm64.whl
Size 71.6 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
d0736c64ecc3c76368e33f340e47391b33e52644c86a1058372d2e6c9ebaf7f9
BLAKE2b-256 checksum
How to use checksums
d926ac10c21c13c25415d28d2221d6481b63aab83a7d821049f205108bc16a49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","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.4-py3-none-win_amd64.whl

Download URL go_bin-1.27.4-py3-none-win_amd64.whl
Size 75.6 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
c8ec80fc9b62812a38b034099d68dd45b686457b359608332002af82c5e0d90c
BLAKE2b-256 checksum
How to use checksums
f96e7c8351fd91ea7d929dbcd03a526842f2cd79e6477ed3281bd4d62b4fc332
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","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.4-py3-none-win32.whl

Download URL go_bin-1.27.4-py3-none-win32.whl
Size 74.5 MB
Tags Python 3 Windows x86-32
SHA-256 checksum
How to use checksums
8cc695e93c1405cf27b4cc88be05e944b0b70f9798154b450f4da95ef9dbdd8c
BLAKE2b-256 checksum
How to use checksums
58d1151c277f6bfa6014a42ee578d65ed334496584a5331950db97e959b49bfa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","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.4-py3-none-manylinux_2_17_x86_64.whl

Download URL go_bin-1.27.4-py3-none-manylinux_2_17_x86_64.whl
Size 74.7 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
d7e327a50c4f3ad8605420f0dbe7d20e7ad011de480d1c51804e207ae369ddf2
BLAKE2b-256 checksum
How to use checksums
0b9b9f2a265ccbc9b879c87ee944011f414e8192fe32b1e5b6650a08eb1f8134
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","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.4-py3-none-manylinux_2_17_s390x.whl

Download URL go_bin-1.27.4-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
da4f45aa00f9b182f9458e719b096d8417fb10be079dfe59596625e98c80903b
BLAKE2b-256 checksum
How to use checksums
6abb62be54378e1642b2277badb281b34739702804a7f41cbba509a6eb5bfbcb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","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.4-py3-none-manylinux_2_17_ppc64le.whl

Download URL go_bin-1.27.4-py3-none-manylinux_2_17_ppc64le.whl
Size 71.9 MB
Tags Linux glibc 2.17+ PowerPC 64-le Python 3
SHA-256 checksum
How to use checksums
a23f5d3c8b9e59d7618ad7054ad25bc7bce2579ff6558f8b3db1578cad1a9c3b
BLAKE2b-256 checksum
How to use checksums
09472c5af33b3c092fcdc3287e76c054783bae5a7c9c6263c3651a31fd459080
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","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.4-py3-none-manylinux_2_17_i686.whl

Download URL go_bin-1.27.4-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
b57bc790395314ce324d86f2b73090f9834b17b919e372156c0e660792830165
BLAKE2b-256 checksum
How to use checksums
8c464a8ac79b895d08e9ea6ec175e888cbf653c21f9a25d39d15445e55a6433c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","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.4-py3-none-manylinux_2_17_aarch64.whl

Download URL go_bin-1.27.4-py3-none-manylinux_2_17_aarch64.whl
Size 71.0 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
32c9ee241b0911e1531a760e73f4cbf3e5c4919714483ea0a09da55b2f5224a5
BLAKE2b-256 checksum
How to use checksums
1ed68e4144de3e0b7b63b81b66c927d8266a566cebe30e2d622ff6899fbe85b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","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.4-py3-none-macosx_11_0_x86_64.whl

Download URL go_bin-1.27.4-py3-none-macosx_11_0_x86_64.whl
Size 75.7 MB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
a105bd61176b0c9cc8237ca1cc22734adb2f6f10da86a6cc7d857823b0ae3607
BLAKE2b-256 checksum
How to use checksums
1718088ba5b82fa96dc67219410826474fc1b17b4c9bb1d6b1be5b744ed92058
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","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.4-py3-none-macosx_11_0_arm64.whl

Download URL go_bin-1.27.4-py3-none-macosx_11_0_arm64.whl
Size 72.1 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
64503535fb2d024c5cfb58e450c7a32ea297163903954764b5e9925b7e7e3f0a
BLAKE2b-256 checksum
How to use checksums
9b344418a2e0e5c070ec5fee03703e63589d468720d0e14fb78ecc96f215e2d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","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.4

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