Skip to main content

Self-contained Python launcher for the General Translation CLI

Project description

gtx-cli

gtx-cli is the PyPI distribution for the General Translation CLI. It installs a gt command that runs the bundled standalone binary for your platform.

Installation

pip install gtx-cli

Usage

gt init
gt translate
gt upload

How it works

PyPI hosts one wheel per supported platform. Each wheel contains the Bun-compiled CLI binary for that platform. At runtime, the Python launcher execs the bundled binary directly.

Documentation

Full CLI documentation is available at generaltranslation.com/docs/cli.

Release

Build the Bun executables first from packages/cli, then build and publish the platform wheels:

pnpm --filter gt run build:bin:clean
cd packages/cli/pypi
python -m pip install --upgrade build twine
python scripts/build_platform_wheels.py \
  --version 2.14.22 \
  --source ../binaries \
  --check \
  --upload \
  --skip-existing \
  --token-file ~/Documents/dev/secrets/pypi-api-token.txt

The script restores gtx_cli.__version__ and removes copied binaries from the source tree after building.

License

FSL-1.1-ALv2. See LICENSE.md.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

gtx_cli-2.14.58-py3-none-win_amd64.whl (41.6 MB view details)

Uploaded Python 3Windows x86-64

gtx_cli-2.14.58-py3-none-manylinux_2_25_x86_64.whl (39.2 MB view details)

Uploaded Python 3manylinux: glibc 2.25+ x86-64

gtx_cli-2.14.58-py3-none-manylinux_2_25_aarch64.whl (39.0 MB view details)

Uploaded Python 3manylinux: glibc 2.25+ ARM64

gtx_cli-2.14.58-py3-none-macosx_13_0_x86_64.whl (29.8 MB view details)

Uploaded Python 3macOS 13.0+ x86-64

gtx_cli-2.14.58-py3-none-macosx_13_0_arm64.whl (27.3 MB view details)

Uploaded Python 3macOS 13.0+ ARM64

File details

Details for the file gtx_cli-2.14.58-py3-none-win_amd64.whl.

File metadata

  • Download URL: gtx_cli-2.14.58-py3-none-win_amd64.whl
  • Upload date:
  • Size: 41.6 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for gtx_cli-2.14.58-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 ea41bfd1ef347f8ac87579604255745809dcb2bdebc7ebfc3b8193f9973d5a25
MD5 e50d4e36014d0b9c3767f94af8a9fc78
BLAKE2b-256 f59bab76090d69e5556286bcb9a21c9c39624abaf7ae3ed41d4f87ad6c988973

See more details on using hashes here.

File details

Details for the file gtx_cli-2.14.58-py3-none-manylinux_2_25_x86_64.whl.

File metadata

File hashes

Hashes for gtx_cli-2.14.58-py3-none-manylinux_2_25_x86_64.whl
Algorithm Hash digest
SHA256 a50e8bb825a17d1f705308f13e98237f1c7a7238914ffb1196fb604d00e31d8b
MD5 d7b182b87578c85b7c5ec3057bebf800
BLAKE2b-256 0088c3becf68f2575d61b9d3b4e618a53bdd180984e08aa5459cd1241bec1b8d

See more details on using hashes here.

File details

Details for the file gtx_cli-2.14.58-py3-none-manylinux_2_25_aarch64.whl.

File metadata

File hashes

Hashes for gtx_cli-2.14.58-py3-none-manylinux_2_25_aarch64.whl
Algorithm Hash digest
SHA256 9a4fd1ba2a56d8f970297a96337b541d94093d3f53a2f861d2e78bf96ba7ebfa
MD5 4934fc2ca59c75a4be93b365aed06851
BLAKE2b-256 47faad57d038ebf02556a9fcf91744ecc28f193e3eb9858127470979d720d20e

See more details on using hashes here.

File details

Details for the file gtx_cli-2.14.58-py3-none-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gtx_cli-2.14.58-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d084a86cc65e9c62b5b4ffd7bdb7bcf497b53fe2c99258cf2503fff4a22cd187
MD5 039bcec386b004f3959c99ab543f8a29
BLAKE2b-256 1db17ee08afab51a4dd87f4136ddc137b6bb21302bfb3eee76cd838d9830c77c

See more details on using hashes here.

File details

Details for the file gtx_cli-2.14.58-py3-none-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gtx_cli-2.14.58-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f11aa341360ac8bac74e948533b8dbe740f565a326a6251979eada28f26b8fa2
MD5 0a971016e863699ca84e7178be57ad56
BLAKE2b-256 2da352ff132ef5281f206f99b21f518a805dec09835adb3e6ae0de27751511d2

See more details on using hashes here.

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