radlermass
Go binaries in Python wheels.
Partially derived from Simon Willison's go-to-wheel. The wheels install native executables, with no Python wrapper.
Requires Python 3.14+ and Go. Cgo is not supported.
radlermass is backed by Astral, the creators of uv, Ruff, and ty.
Usage
$ uv tool install radlermass
$ radlermass ./mytool --version 1.2.3
This builds the root main package for Linux, macOS, and Windows (amd64 and
arm64), writing wheels to ./dist.
Use --package-path cmd/mytool for a subdirectory. See uv run radlermass --help
for names, target selection, metadata, and linker flags.
Each wheel includes go.mod.json under .dist-info/sboms/, generated from the
module's go.mod with go mod edit -json. Use --no-embed-gomod-json to omit it.
If JSON generation fails, no wheels are published.
Python API
from radlermass import build_wheels
wheels = build_wheels(
"./mytool",
package_path="cmd/mytool",
version="1.2.3",
readme="# My tool\n\nA Go command.",
)
build_wheels returns a list of absolute wheel paths. readme accepts Markdown
as a str or a file as a pathlib.Path; relative paths resolve against the Go
module. Set embed_gomod_json=False to omit go.mod.json.
Contributing
See the contributing guide for development and release instructions.
License
Original radlermass code and modifications are licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
Code derived from go-to-wheel remains licensed under Apache-2.0. See NOTICE for attribution and modification details.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in radlermass by you, as defined in the Apache-2.0 license, shall be dually licensed as above, without any additional terms or conditions.
Release files for radlermass 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| radlermass-0.3.0.tar.gz | 13.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| radlermass-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.8 kB
Release files / radlermass-0.3.0.tar.gz
| Download URL | radlermass-0.3.0.tar.gz |
|---|---|
| Size | 13.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c8a48de6a437b4c694a74be2cc156296bd832eaf9b5015bf76693bd6297d2b32
|
|
BLAKE2b-256 checksum How to use checksums |
ba17cdcb06dedfe78a7cc244df987b502b126a8d80b5fdca74c90518c6c90dab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","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}
|
Release files / radlermass-0.3.0-py3-none-any.whl
| Download URL | radlermass-0.3.0-py3-none-any.whl |
|---|---|
| Size | 17.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
86c58e7526ae897469cf23a2e22222efd337c346b83b8388052ae0c955faf127
|
|
BLAKE2b-256 checksum How to use checksums |
13e63b5e61932fb36df5318e2e7935dff4df6b745c69dffc9f797d76c932f541
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","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}
|