Skip to main content

Prebuilt golang binary

Project description

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

Project details


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

Uploaded Python 3Windows ARM64

go_bin-1.26.2-py3-none-win_amd64.whl (71.2 MB view details)

Uploaded Python 3Windows x86-64

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

Uploaded Python 3Windows x86

go_bin-1.26.2-py3-none-manylinux_2_17_x86_64.whl (70.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

go_bin-1.26.2-py3-none-manylinux_2_17_s390x.whl (70.0 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ s390x

go_bin-1.26.2-py3-none-manylinux_2_17_ppc64le.whl (67.7 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

go_bin-1.26.2-py3-none-manylinux_2_17_i686.whl (68.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ i686

go_bin-1.26.2-py3-none-manylinux_2_17_aarch64.whl (66.9 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

go_bin-1.26.2-py3-none-macosx_11_0_arm64.whl (67.9 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

go_bin-1.26.2-py3-none-macosx_10_12_x86_64.whl (71.2 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: go_bin-1.26.2-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.4 {"installer":{"name":"uv","version":"0.11.4","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.2-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 ed2f433aa1085a3b503a3bfd5ed07bc1c692677e2116150c54bc601928d44313
MD5 44e41cb85d4fb9383ca420799b4a53e0
BLAKE2b-256 23e8cf8efffd038d4f95a9189664f53c8186c2c47271aa1988b2d6d6469a109b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.2-py3-none-win_amd64.whl
  • Upload date:
  • Size: 71.2 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.4 {"installer":{"name":"uv","version":"0.11.4","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.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 596cd7c46c702da1befdc2108c239a39bcad44f46dd7d43aa39be287058231e5
MD5 54cbe8ead3b118d04500f94a6634a858
BLAKE2b-256 b127273c3bd2865ff52180c465302ba16496eb9619fa14e497dd0df803a96849

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.2-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

Hashes for go_bin-1.26.2-py3-none-win32.whl
Algorithm Hash digest
SHA256 3400fe1746f70aa48b1b4bcbaf8cf72bdb3ba77af51003eb31b558f48e0f548b
MD5 923768ff5b0ee9e14a80d14ff2c2bed5
BLAKE2b-256 2f0e88c95439ff65be775fdc0b12bafa899534f0e076f36f7348f78c4f71b909

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.2-py3-none-manylinux_2_17_x86_64.whl
  • Upload date:
  • Size: 70.2 MB
  • Tags: Python 3, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.4 {"installer":{"name":"uv","version":"0.11.4","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.2-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 133f527b2da1114574fee07e7d0c8e4cb2942b2d7cfb1e9e055fc0236840ca5c
MD5 c8beb9f1720683e0f48edb7402cb0a09
BLAKE2b-256 6465a043ff52fb9648db528c8ca62cc6c27cd83cde3217d725f4327e8ac73149

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.2-py3-none-manylinux_2_17_s390x.whl
  • Upload date:
  • Size: 70.0 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

Hashes for go_bin-1.26.2-py3-none-manylinux_2_17_s390x.whl
Algorithm Hash digest
SHA256 a8362b48a2834ff1d86380b82a5571e4b0ed739d4fa8686bdb8361f4358c9fcd
MD5 81557714f7f5336ff29b3ab74b86f96b
BLAKE2b-256 81e9bdea0b18d38fec2ef1615a5ebf5f8b6785c41687a246b2bc7406f2c9e0d6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.2-py3-none-manylinux_2_17_ppc64le.whl
  • Upload date:
  • Size: 67.7 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

Hashes for go_bin-1.26.2-py3-none-manylinux_2_17_ppc64le.whl
Algorithm Hash digest
SHA256 95a5366694034a729ff67adb5a4244321c99a39f3d16e5863b5c435e81e9165e
MD5 e564eecee6461a6636ca44aa6e386491
BLAKE2b-256 6e7cddd433129513389e6ca5e5da60fbe4617213df598c2fa2f9a8d549ab77a4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.2-py3-none-manylinux_2_17_i686.whl
  • Upload date:
  • Size: 68.5 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

Hashes for go_bin-1.26.2-py3-none-manylinux_2_17_i686.whl
Algorithm Hash digest
SHA256 98544b7baedbf28112bb64a15ff1edace1dce268a42e1221c370f0e966aebdaa
MD5 b68ce2fed683239123ea8eed9fe7661a
BLAKE2b-256 9d35f17f57d59d777b74bc97baea4e7a70eca48accc4e1dd11a56f6ab0452cc2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.2-py3-none-manylinux_2_17_aarch64.whl
  • Upload date:
  • Size: 66.9 MB
  • Tags: Python 3, manylinux: glibc 2.17+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","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.2-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 1edc54113b905292ecde233601142a3ad3202b1e373cb911058064de37400077
MD5 b12b0fce16e259b585f3c68a6a263555
BLAKE2b-256 1199c9bea6f4ec7df84ca3db270d096875e89722ac35998b9d34dfcd9834929d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.2-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 67.9 MB
  • Tags: Python 3, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.4 {"installer":{"name":"uv","version":"0.11.4","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.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 aa702eb69938fcf30f73d2b4c0a38aa2edd01bad78f46f84b52d536dad3fec92
MD5 a39cb23897c4075bb1467679ccea00e3
BLAKE2b-256 a22e3ff6063d8e766d8ce9d83f426fd384fc4f9b3b0d4ebc90fe048234557442

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.26.2-py3-none-macosx_10_12_x86_64.whl
  • Upload date:
  • Size: 71.2 MB
  • Tags: Python 3, macOS 10.12+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.4 {"installer":{"name":"uv","version":"0.11.4","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.2-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 4047b9219c560af5a0c301593d0a4696a85784f63e6df1ab359dfec1437646b1
MD5 166ffea8b214a5b5fdc495d9bb2fc32b
BLAKE2b-256 b1a024bde9fda93c11b1681db4e7ed266bd8e551cf1e37d72e5a864fdb95fece

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 Pingdom Monitoring Sentry Error logging StatusPage Status page