Skip to main content

Thin Python wrapper that installs the ggcode GitHub Release binary

Project description

ggcode Python wrapper

ggcode on PyPI bootstraps the native ggcode terminal agent from GitHub Releases.

When the bootstrap runs, it installs the real binary into a stable CLI location instead of keeping it in a wrapper-managed cache:

  • macOS / Linux: prefers /usr/local/bin, falls back to ~/.local/bin
  • Windows: prefers %USERPROFILE%\\AppData\\Local\\Programs\\ggcode\\bin, falls back to %USERPROFILE%\\.local\\bin

If that directory is not already on PATH, the bootstrap updates your PATH configuration and asks you to reopen the terminal so future ggcode launches resolve directly to the native binary.

This package is only the release-backed installer wrapper. For product features, harness workflow details, and the main CLI experience, use the repository README.

Install

pip install ggcode

Then run:

ggcode

If you ever need to rerun the bootstrap flow explicitly, you can also use:

ggcode-bootstrap

What it does

  • Detects your operating system and CPU architecture
  • Downloads the latest matching ggcode archive from GitHub Releases
  • Verifies the archive against checksums.txt
  • Installs the real binary into a stable PATH location
  • Updates PATH so future ggcode launches bypass the Python wrapper

Pin a specific ggcode release

By default, the wrapper always resolves the latest ggcode release.

To force a specific release, set GGCODE_INSTALL_VERSION:

GGCODE_INSTALL_VERSION=vX.Y.Z ggcode

or:

GGCODE_INSTALL_VERSION=X.Y.Z ggcode

Supported platforms

  • macOS
  • Linux
  • Windows

Supported architectures:

  • x86_64 / amd64
  • arm64

Project links

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ggcode-1.1.22.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

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

ggcode-1.1.22-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file ggcode-1.1.22.tar.gz.

File metadata

  • Download URL: ggcode-1.1.22.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ggcode-1.1.22.tar.gz
Algorithm Hash digest
SHA256 fb1edaaec47e29ef808dc911ad1862a716a6a0ee9770103f16bb24b9db592455
MD5 f2d0ee7d3a53c2397eb217143b42f39f
BLAKE2b-256 c5a6a78eb094a37ec9186ce662e48276185993a0a5e19b6b1a6434a54a5fe694

See more details on using hashes here.

Provenance

The following attestation bundles were made for ggcode-1.1.22.tar.gz:

Publisher: publish-pypi.yml on topcheer/ggcode

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

File details

Details for the file ggcode-1.1.22-py3-none-any.whl.

File metadata

  • Download URL: ggcode-1.1.22-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ggcode-1.1.22-py3-none-any.whl
Algorithm Hash digest
SHA256 c2f3f12f8721c736d58e596c52bae98b18ec6e1809edc5e374f2bf6656559452
MD5 c5442402fb5a4af639a57fc97b0139de
BLAKE2b-256 029e44a6635132da8f4b654ddfd479bba75cc960dd5ec482ab5ea4cea80322d0

See more details on using hashes here.

Provenance

The following attestation bundles were made for ggcode-1.1.22-py3-none-any.whl:

Publisher: publish-pypi.yml on topcheer/ggcode

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