Prebuilt golang binary
Project description
Prebuilt Go Runtime
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file go_bin-1.26.3-py3-none-win_arm64.whl.
File metadata
- Download URL: go_bin-1.26.3-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.11 {"installer":{"name":"uv","version":"0.11.11","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
402a3b1df5fd0bdd27f6b6ce800f8f488feba530f998eb73b872f2bd4309be9a
|
|
| MD5 |
9a6aaad9fea08091b2ba45d7efa6722c
|
|
| BLAKE2b-256 |
45f42db2b84fbfa8be90c416bdf68ef9524f7b7cfda41b973839549492d6bc2f
|
File details
Details for the file go_bin-1.26.3-py3-none-win_amd64.whl.
File metadata
- Download URL: go_bin-1.26.3-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.12 {"installer":{"name":"uv","version":"0.11.12","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46152577836518073496817e80a26b72089e12ec2c621f6705814c76a422ffb5
|
|
| MD5 |
fb527b10a7ae9f66834cfbe8e239b4d1
|
|
| BLAKE2b-256 |
4b348c5535af426545379b8661e3421d7e856220e89e1426225b22e87748d315
|
File details
Details for the file go_bin-1.26.3-py3-none-win32.whl.
File metadata
- Download URL: go_bin-1.26.3-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.12 {"installer":{"name":"uv","version":"0.11.12","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb1cb409d0bfd5a5e984e8f02bb4e9a8cecf1aeee6e90a4d34968fa62842fe7b
|
|
| MD5 |
178f7c81f7d4e07777c2e0a8320fe820
|
|
| BLAKE2b-256 |
7b5f566f96a81c4bf41692f2d7dae1b2633b5e746a40e822cc31d1657bdacb7e
|
File details
Details for the file go_bin-1.26.3-py3-none-manylinux_2_17_x86_64.whl.
File metadata
- Download URL: go_bin-1.26.3-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.11 {"installer":{"name":"uv","version":"0.11.11","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9b61ed4315ad4e4d06db7f44a8f146bbee77d114598f1f4c4adff087e5bd239
|
|
| MD5 |
26dfec5942217b748ecc9c8a2be23d2f
|
|
| BLAKE2b-256 |
a96b49fa2f805f04a9117114bad4891188db9b419583d0f86d87efa0dd7811a4
|
File details
Details for the file go_bin-1.26.3-py3-none-manylinux_2_17_s390x.whl.
File metadata
- Download URL: go_bin-1.26.3-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.12 {"installer":{"name":"uv","version":"0.11.12","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51d1d2b6c102793ffb97793595f3e1e85a24d922a1f2cbecbc6e9e2dc2fbfcf8
|
|
| MD5 |
4047cad6da0ddd7f1b5f5a6ba308e205
|
|
| BLAKE2b-256 |
3e2edb535a39284f4f874d56168cdaa267370812e3f867e561f4f86f019aaebf
|
File details
Details for the file go_bin-1.26.3-py3-none-manylinux_2_17_ppc64le.whl.
File metadata
- Download URL: go_bin-1.26.3-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.12 {"installer":{"name":"uv","version":"0.11.12","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2d327ae567750f335592ca41e7339b869ddd74bc013fc743d44914eeb88bc39
|
|
| MD5 |
16509c62739ab5c94c3843daf918631a
|
|
| BLAKE2b-256 |
aeeb716a636fc8de4242aaf84084b4edb846977e952cea789dd4c8fdbdd3141f
|
File details
Details for the file go_bin-1.26.3-py3-none-manylinux_2_17_i686.whl.
File metadata
- Download URL: go_bin-1.26.3-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.12 {"installer":{"name":"uv","version":"0.11.12","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a178d340af7289024ed97dc90c81523363384d3d5b310dd407027880bdc14d65
|
|
| MD5 |
2d7a92bf85edeb5860a49a61f2260df7
|
|
| BLAKE2b-256 |
3e91d1ff29f2edae42586b5e171907ec80a726f0d4e10624a60db70c30073a94
|
File details
Details for the file go_bin-1.26.3-py3-none-manylinux_2_17_aarch64.whl.
File metadata
- Download URL: go_bin-1.26.3-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.11 {"installer":{"name":"uv","version":"0.11.11","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ae496efbb89a2aeb17c97a4a00f07a1342c9c207f1cd5fca57db60ec6b517de
|
|
| MD5 |
7ca9fe5949a89726408a867fb115d522
|
|
| BLAKE2b-256 |
c6ae919ff28c6da48ecc7e6fa64a70f727b974c691d0751a6c75f68a992117d0
|
File details
Details for the file go_bin-1.26.3-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: go_bin-1.26.3-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.11 {"installer":{"name":"uv","version":"0.11.11","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07bee58fa89f4d965e6e4ec363e819cb43539e366e20e8d578c4e9fa36ba1341
|
|
| MD5 |
6349708cde6853c10315a6a8ef942e0e
|
|
| BLAKE2b-256 |
ade22df77c879d55f6a3619dfe51f94b69afb6af8e57072d448925087ca5c53f
|
File details
Details for the file go_bin-1.26.3-py3-none-macosx_10_12_x86_64.whl.
File metadata
- Download URL: go_bin-1.26.3-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.11 {"installer":{"name":"uv","version":"0.11.11","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45d5eb0e47df428189320a094607e261015d46b30fbc33a31cf97b268182adb0
|
|
| MD5 |
f3964cca630626322937a76360490ca0
|
|
| BLAKE2b-256 |
c741299a14edb44de0ff10e90feea71cfeb0e5e3711e1695ead830032fc02bcb
|