A tool simplifying the generaton of clean GO sample with a specified set of included libraries.
Project description
GoStrap
GoStrap is a tool to easily bootstrp GO samples using a set of GO libraries and GO versions.
Build & Install
To build GoStrap use Hatch's usual build command :
hatch build
The built archive will be placed in the "dist" directory as a .whl file. To install GoStrap, simply install the .whl file using pip.
pip install dist/gostrap-*.whl
Command Line Usage
Once installed, a new utility gostrap will be available.
usage: gostrap [-h] [-l [LIBS ...]] [-g [VERSIONS ...]] [-a ARCH] [-p PLATFORM] [-f] [-s]
options:
-h, --help show this help message and exit
-l [LIBS ...], --libs [LIBS ...] List of GO libs to include in the generated samples.
-g [VERSIONS ...], --go [VERSIONS ...] List of GO version to build the samples with.
-a ARCH, --arch ARCH Target CPU architecture.
-p PLATFORM, --platform PLATFORM Target Operaring System.
-f, --force Force build existing samples.
-s, --show Show available go versions
Here is a typical workflow using GoStrap :
gostrap --libs "set,of,libs" --go "go1.23.4,go1.14" --arch "AMD64" --platform "Windows"
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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 gostrap-1.0.0.tar.gz.
File metadata
- Download URL: gostrap-1.0.0.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b78648e4e356d5fa30d22c0cc7b47357fe193e296e3b31e1ac71833fa960c34
|
|
| MD5 |
2679fae9fd6b901ae6434cd1458c3e2d
|
|
| BLAKE2b-256 |
b7441636feed0fb3d2082ee97e3d917d3149fb6cc2113fde8825ceadb437fe48
|
Provenance
The following attestation bundles were made for gostrap-1.0.0.tar.gz:
Publisher:
publish.yml on volexity/GoStrap
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gostrap-1.0.0.tar.gz -
Subject digest:
8b78648e4e356d5fa30d22c0cc7b47357fe193e296e3b31e1ac71833fa960c34 - Sigstore transparency entry: 190366516
- Sigstore integration time:
-
Permalink:
volexity/GoStrap@3fa3242de32270f3a00593384a0282a758b6e31a -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/volexity
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3fa3242de32270f3a00593384a0282a758b6e31a -
Trigger Event:
push
-
Statement type:
File details
Details for the file gostrap-1.0.0-py3-none-any.whl.
File metadata
- Download URL: gostrap-1.0.0-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf06b6e0f39ad224870ecebfb3dc2c1792b56349e42a90ba8eef826f2b134a25
|
|
| MD5 |
f9aa2c0f3efcfda6e0d7725e1913312b
|
|
| BLAKE2b-256 |
bae90432e53c85ea4488137d3148690af2cc260653ae643529440dfb4d93cb77
|
Provenance
The following attestation bundles were made for gostrap-1.0.0-py3-none-any.whl:
Publisher:
publish.yml on volexity/GoStrap
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gostrap-1.0.0-py3-none-any.whl -
Subject digest:
cf06b6e0f39ad224870ecebfb3dc2c1792b56349e42a90ba8eef826f2b134a25 - Sigstore transparency entry: 190366520
- Sigstore integration time:
-
Permalink:
volexity/GoStrap@3fa3242de32270f3a00593384a0282a758b6e31a -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/volexity
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3fa3242de32270f3a00593384a0282a758b6e31a -
Trigger Event:
push
-
Statement type: