Name | go-bin JSON |
Version |
1.23.4.4
JSON |
| download |
home_page | None |
Summary | Prebuilt golang binary |
upload_time | 2024-12-30 05:31:00 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.6 |
license | MIT License Copyright (c) 2024 Jamison Lahman Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
binary
go
golang
packaging
prebuilt
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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](https://go.dev/doc/manage-install),
utilize tools such as [uv](https://docs.astral.sh/uv/) to switch between environments.
Without needing anything other than `uv`, building a golang binary becomes as simple as,
```shell
uvx --from=go-bin go build ./...
```
### Using `go-bin` for packaging
Whether you're building standalone go binaries or writing [c-extensions in golang](https://words.filippo.io/building-python-modules-with-go-1-5),
this package allows a declarative and hermetic way to build golang source code.
Simply define a build dependency on `go-bin`,
```toml
[build-system]
requires = ["hatchling", "go-bin~=1.23.4"]
build-backend = "hatchling.build"
```
_It is recommended to use [compatible release versions (`~=`)](https://peps.python.org/pep-0440/#version-specifiers). 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`](https://github.com/jmelahman/connections).
Raw data
{
"_id": null,
"home_page": null,
"name": "go-bin",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "binary, go, golang, packaging, prebuilt",
"author": null,
"author_email": "Jamison Lahman <jamison@lahman.dev>",
"download_url": null,
"platform": null,
"description": "# Prebuilt Go Runtime\n\n## Overview\n\nThis package provides a prebuilt Go runtime for integrating Golang artifacts into Python projects.\n\n## Features\n\n- Automatic Go runtime download for multiple platforms\n- Cross-platform support (Windows, Linux, macOS)\n- Declarative integration with python build systems\n\n### Using the `go` binary\n\nOne potential use case for `go-bin` is to facilitate managing the go binary.\nRather than [managing multiple go installations](https://go.dev/doc/manage-install),\nutilize tools such as [uv](https://docs.astral.sh/uv/) to switch between environments.\n\nWithout needing anything other than `uv`, building a golang binary becomes as simple as,\n\n```shell\nuvx --from=go-bin go build ./...\n```\n\n### Using `go-bin` for packaging\n\nWhether you're building standalone go binaries or writing [c-extensions in golang](https://words.filippo.io/building-python-modules-with-go-1-5),\nthis package allows a declarative and hermetic way to build golang source code.\n\nSimply define a build dependency on `go-bin`,\n\n```toml\n[build-system]\nrequires = [\"hatchling\", \"go-bin~=1.23.4\"]\nbuild-backend = \"hatchling.build\"\n```\n\n_It is recommended to use [compatible release versions (`~=`)](https://peps.python.org/pep-0440/#version-specifiers). Major, minor, and patch versions of `go-bin` will always correlate with Go versions while the latter digit is reserved for changes in packaging._\n\nthen use it in your build scripts as if it were your system's version of `go`.\nFor an example, see [`github.com/jmelahman/connections`](https://github.com/jmelahman/connections).\n",
"bugtrack_url": null,
"license": "MIT License Copyright (c) 2024 Jamison Lahman Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
"summary": "Prebuilt golang binary",
"version": "1.23.4.4",
"project_urls": {
"Repository": "https://github.com/jmelahman/go-bin"
},
"split_keywords": [
"binary",
" go",
" golang",
" packaging",
" prebuilt"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "14f43e8b72e895c1b6cdc8c43aebb5de79111270bb1d9a767ed767501fddae08",
"md5": "e7a4ff5f6899eda9bb082915c0f3daed",
"sha256": "a45750fdc45ae0c1090e30001a0bfd72db5372f3110f5c17445605ac4b155c94"
},
"downloads": -1,
"filename": "go_bin-1.23.4.4-py3-none-macosx_10_12_x86_64.whl",
"has_sig": false,
"md5_digest": "e7a4ff5f6899eda9bb082915c0f3daed",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 77602283,
"upload_time": "2024-12-30T05:31:00",
"upload_time_iso_8601": "2024-12-30T05:31:00.341447Z",
"url": "https://files.pythonhosted.org/packages/14/f4/3e8b72e895c1b6cdc8c43aebb5de79111270bb1d9a767ed767501fddae08/go_bin-1.23.4.4-py3-none-macosx_10_12_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "2a250e5bb5b136c461637d2abfac7a04339dabd571e30ac8039cf72b4307e331",
"md5": "b204033b72e09e5dfe2b00c24573b2b5",
"sha256": "7ffdfb82efac7e26df523b3db37422ac466767406e0cf93426fb1d2e0d9b547a"
},
"downloads": -1,
"filename": "go_bin-1.23.4.4-py3-none-macosx_11_0_arm64.whl",
"has_sig": false,
"md5_digest": "b204033b72e09e5dfe2b00c24573b2b5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 74028758,
"upload_time": "2024-12-30T05:31:06",
"upload_time_iso_8601": "2024-12-30T05:31:06.809997Z",
"url": "https://files.pythonhosted.org/packages/2a/25/0e5bb5b136c461637d2abfac7a04339dabd571e30ac8039cf72b4307e331/go_bin-1.23.4.4-py3-none-macosx_11_0_arm64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "aa2ef8de37748c2e256217ecac391ff142132255ed86cb57c9bc2b8c07594245",
"md5": "c8db735629bdc41a6aa7fb9f97bbd1a8",
"sha256": "2ed61122d5096e1e681d4891862e10b7cc951f12e0fd581844cba0e1cacd4b23"
},
"downloads": -1,
"filename": "go_bin-1.23.4.4-py3-none-manylinux_2_17_aarch64.whl",
"has_sig": false,
"md5_digest": "c8db735629bdc41a6aa7fb9f97bbd1a8",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 72667540,
"upload_time": "2024-12-30T05:31:06",
"upload_time_iso_8601": "2024-12-30T05:31:06.939515Z",
"url": "https://files.pythonhosted.org/packages/aa/2e/f8de37748c2e256217ecac391ff142132255ed86cb57c9bc2b8c07594245/go_bin-1.23.4.4-py3-none-manylinux_2_17_aarch64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "12642cf204593061db6224a198778cbf9cc79c8440eeb5f6fe14c0ecd4fc0b37",
"md5": "926ce4e682c860d3a419e7e03f444446",
"sha256": "880ee8f5c91d54875f39331d558deb71e70b9aed81d1f0ffc284ed3b7b208bc5"
},
"downloads": -1,
"filename": "go_bin-1.23.4.4-py3-none-manylinux_2_17_i686.whl",
"has_sig": false,
"md5_digest": "926ce4e682c860d3a419e7e03f444446",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 74063570,
"upload_time": "2024-12-30T05:31:06",
"upload_time_iso_8601": "2024-12-30T05:31:06.756039Z",
"url": "https://files.pythonhosted.org/packages/12/64/2cf204593061db6224a198778cbf9cc79c8440eeb5f6fe14c0ecd4fc0b37/go_bin-1.23.4.4-py3-none-manylinux_2_17_i686.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "fafcb5464218ac5448f22d58c583b916967780dbb94dcab45b40fb594b956a4b",
"md5": "2e196962fd7d164b992e57c4f5fed937",
"sha256": "a39c8ebb324acdbac062be76548e73caefc95d1a5b29ed7772174f80ba9ab6fe"
},
"downloads": -1,
"filename": "go_bin-1.23.4.4-py3-none-manylinux_2_17_x86_64.whl",
"has_sig": false,
"md5_digest": "2e196962fd7d164b992e57c4f5fed937",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 76285163,
"upload_time": "2024-12-30T05:31:07",
"upload_time_iso_8601": "2024-12-30T05:31:07.011064Z",
"url": "https://files.pythonhosted.org/packages/fa/fc/b5464218ac5448f22d58c583b916967780dbb94dcab45b40fb594b956a4b/go_bin-1.23.4.4-py3-none-manylinux_2_17_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "14a7abde7451e7d9f25352306963c1f34f507626f38b0d42be40d365f4965889",
"md5": "0c4b2e6cf7638ca78648098d98e1416f",
"sha256": "0a47ea90d4f89a15f9baf65e835af565ab1ee3fc5e5d9c5ace1f1fc5b6fbc037"
},
"downloads": -1,
"filename": "go_bin-1.23.4.4-py3-none-win32.whl",
"has_sig": false,
"md5_digest": "0c4b2e6cf7638ca78648098d98e1416f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 76677594,
"upload_time": "2024-12-30T05:31:06",
"upload_time_iso_8601": "2024-12-30T05:31:06.693644Z",
"url": "https://files.pythonhosted.org/packages/14/a7/abde7451e7d9f25352306963c1f34f507626f38b0d42be40d365f4965889/go_bin-1.23.4.4-py3-none-win32.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "1e0f10d433b3e525da589b10fac202fbbc42981c6c9a3e19f65226a4e29267bb",
"md5": "769ab5e13705d678c57ac88f5fe5c62f",
"sha256": "0c9b2958a40d4b6ef0b1942d15f7c0d350ab42706efcdcf377ba347f564f27ba"
},
"downloads": -1,
"filename": "go_bin-1.23.4.4-py3-none-win_amd64.whl",
"has_sig": false,
"md5_digest": "769ab5e13705d678c57ac88f5fe5c62f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 78267648,
"upload_time": "2024-12-30T05:31:06",
"upload_time_iso_8601": "2024-12-30T05:31:06.871773Z",
"url": "https://files.pythonhosted.org/packages/1e/0f/10d433b3e525da589b10fac202fbbc42981c6c9a3e19f65226a4e29267bb/go_bin-1.23.4.4-py3-none-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "c6a17e580cc26ec6e845857d91b29b3c611ec7c0432f21ca450aa5f337e2b71f",
"md5": "a7c8c947f26330a74d4bed4ce5706065",
"sha256": "34f1a19b10804c4b86845cfa72eef9ed17e205ee2764602fbffc898a510f0a0e"
},
"downloads": -1,
"filename": "go_bin-1.23.4.4-py3-none-win_arm64.whl",
"has_sig": false,
"md5_digest": "a7c8c947f26330a74d4bed4ce5706065",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 74057304,
"upload_time": "2024-12-30T05:31:07",
"upload_time_iso_8601": "2024-12-30T05:31:07.123272Z",
"url": "https://files.pythonhosted.org/packages/c6/a1/7e580cc26ec6e845857d91b29b3c611ec7c0432f21ca450aa5f337e2b71f/go_bin-1.23.4.4-py3-none-win_arm64.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-30 05:31:00",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jmelahman",
"github_project": "go-bin",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "go-bin"
}