Skip to main content

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.

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

Uploaded Python 3Windows ARM64

go_bin-1.21.13-py3-none-win_amd64.whl (70.3 MB view details)

Uploaded Python 3Windows x86-64

go_bin-1.21.13-py3-none-win32.whl (69.2 MB view details)

Uploaded Python 3Windows x86

go_bin-1.21.13-py3-none-manylinux_2_17_x86_64.whl (69.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

go_bin-1.21.13-py3-none-manylinux_2_17_i686.whl (67.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ i686

go_bin-1.21.13-py3-none-manylinux_2_17_aarch64.whl (66.0 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

go_bin-1.21.13-py3-none-macosx_11_0_arm64.whl (67.3 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

go_bin-1.21.13-py3-none-macosx_10_12_x86_64.whl (69.8 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: go_bin-1.21.13-py3-none-win_arm64.whl
  • Upload date:
  • Size: 66.7 MB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.5.13

File hashes

Hashes for go_bin-1.21.13-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 a491dafb4a802852efd13b8859bd86c501a28d9a627c6e9b1ccad0a88bc5db08
MD5 4c846678991690dbaec47d4d8d607344
BLAKE2b-256 8586ff94a763afdadc41a57957894040736d6f6bec3d0ef88ccc2458f9c0d229

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.21.13-py3-none-win_amd64.whl
  • Upload date:
  • Size: 70.3 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.5.13

File hashes

Hashes for go_bin-1.21.13-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 5451596bd11291edfb48e106ee2a68dcf0f445cfd8363c84863373771749c6b4
MD5 28aa116152e165fbbf959542e10090d6
BLAKE2b-256 5d2f36b906560399b14b1d85440538238f35393ec9b8d0942f68e7c4c42ed572

See more details on using hashes here.

File details

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

File metadata

  • Download URL: go_bin-1.21.13-py3-none-win32.whl
  • Upload date:
  • Size: 69.2 MB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.5.13

File hashes

Hashes for go_bin-1.21.13-py3-none-win32.whl
Algorithm Hash digest
SHA256 e4a9ef4976282aed68dc2ddfac54ff49b1011b35b5a1df1a2f42b8343b9cf977
MD5 ddabc98b98893148a1f004e579641017
BLAKE2b-256 353009606649624c5845f49713e04ea428023354b5d05890c37d5745f696abc8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for go_bin-1.21.13-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 c761e623055819e4eea2416afd1214864ba8576561939b0907ba28bfb373e3e3
MD5 4d2efd76eb1b5afe03afe8d8929c6e03
BLAKE2b-256 1e4c377804cac8090e9590946c75ccdfe855012048a95050e8e92c1ad56b326f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for go_bin-1.21.13-py3-none-manylinux_2_17_i686.whl
Algorithm Hash digest
SHA256 121db13e7d9e9f1c7518c9b218765824556b0151d1bedebd138a03db15ca8d37
MD5 4d28fc3acde83df8870fec50b05e7e0c
BLAKE2b-256 0472e7a75b2e9e49f0c0c9d405a380935646b66c725ce64bcd6dbabdfad22286

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for go_bin-1.21.13-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 8c774e2663688380605fff26227e5555a956965a75e3e1c6c38c12d0b8c467c5
MD5 0dbbbeec269105f4ab191bec5f681f85
BLAKE2b-256 5869f20eea8e4bf56a0e5e5058d7d16a0abab484e4ea7555fcfe1a3cfa6c8314

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for go_bin-1.21.13-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c418b4bea8eabc1cb5f4ca4b466699867604152148a72e6bdd4af2e519684f9a
MD5 b7ee75bbee19c96a37e3db2dce0a02d5
BLAKE2b-256 fa83064b8b2c193189a04398e7f74b08b7e7a89556f96d5c844929cd0e13a883

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for go_bin-1.21.13-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 75cf968b5f1324466219800f71f32564661fea5da212ce71c04e3fb29bed9145
MD5 d91b31c3f0ed24e1274dfff862a6e379
BLAKE2b-256 46794ef6d058cd7a1ce7918224dab6f31b9dbb22e6d04efd1a9b64ce8d527e97

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