Skip to main content

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.

How to install

To install GoStrap, we recommend pulling directly from PyPi :

pip install gostrap

This will install GoStrap as well as its necessary dependencies.

Building from source

If you wish to build & install GoStrap from source instead, 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

gostrap-1.1.2.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gostrap-1.1.2-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file gostrap-1.1.2.tar.gz.

File metadata

  • Download URL: gostrap-1.1.2.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for gostrap-1.1.2.tar.gz
Algorithm Hash digest
SHA256 3e0d5ea989ffc0e1e8b3955dbbd95dc93aaf2266c5cf29c98ea4681f3b6dff64
MD5 c4237f0a6a2950710269ecf5b9c07a16
BLAKE2b-256 496aeb43b246ca2c96da854af29c6bdd73cb8e98283184a8b154147d72621eba

See more details on using hashes here.

Provenance

The following attestation bundles were made for gostrap-1.1.2.tar.gz:

Publisher: publish.yml on volexity/GoStrap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gostrap-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: gostrap-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 11.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for gostrap-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e7e079490a438d2142125d039c560ff43bd78e89833bc7e20ae78a20a7e8318e
MD5 3dc9c822a380929cbc0fd8563204227e
BLAKE2b-256 ef6bf2963c96a71e9b094a7217e93d82386e9f82f9eb6b918bd0c3dea86d933c

See more details on using hashes here.

Provenance

The following attestation bundles were made for gostrap-1.1.2-py3-none-any.whl:

Publisher: publish.yml on volexity/GoStrap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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