Skip to main content

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

MIT. See LICENSE.md.

Metadata

Release files for gtx-cli 2.24.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for gtx-cli 2.24.0
File
gtx_cli-2.24.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
gtx_cli-2.24.0-py3-none-manylinux_2_25_x86_64.whl Python 3 none Linux glibc 2.25+ x86-64 Details
gtx_cli-2.24.0-py3-none-manylinux_2_25_aarch64.whl Python 3 none Linux glibc 2.25+ ARM64 Details
gtx_cli-2.24.0-py3-none-macosx_13_0_x86_64.whl Python 3 none macOS 13.0+ x86-64 Details
gtx_cli-2.24.0-py3-none-macosx_13_0_arm64.whl Python 3 none macOS 13.0+ ARM64 Details

Total release size: 184.8 MB

Release files / gtx_cli-2.24.0-py3-none-win_amd64.whl

Download URL gtx_cli-2.24.0-py3-none-win_amd64.whl
Size 43.3 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
f8a151abe814043ca0fad000a4274d8b69faf8fb3e9b11531c98fd83ecdac4f0
BLAKE2b-256 checksum
How to use checksums
1c0b4778eee326a15895dd2766c561631f3f61d698aeafc6dbcfda7b0766179b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / gtx_cli-2.24.0-py3-none-manylinux_2_25_x86_64.whl

Download URL gtx_cli-2.24.0-py3-none-manylinux_2_25_x86_64.whl
Size 40.1 MB
Tags Linux glibc 2.25+ x86-64 Python 3
SHA-256 checksum
How to use checksums
abde66285c3eb1768f2c974ecc5be062e17fc5e64499683127efb5dfe14efa40
BLAKE2b-256 checksum
How to use checksums
cf8e7f8e01e14678c9781ed51490d42a04da838eba494e1ff834a027e1f2f259
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / gtx_cli-2.24.0-py3-none-manylinux_2_25_aarch64.whl

Download URL gtx_cli-2.24.0-py3-none-manylinux_2_25_aarch64.whl
Size 40.1 MB
Tags Linux glibc 2.25+ ARM64 Python 3
SHA-256 checksum
How to use checksums
b2669eaf5b1d5e83bedf352fee58d4ae8689ac1c9241b1b0b137df130fb267d8
BLAKE2b-256 checksum
How to use checksums
3fd1658fe5139cdc94b4e76fc4d81329875720b58effa1e9fe295c81e3571b0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / gtx_cli-2.24.0-py3-none-macosx_13_0_x86_64.whl

Download URL gtx_cli-2.24.0-py3-none-macosx_13_0_x86_64.whl
Size 31.9 MB
Tags Python 3 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
03a21f70688e375cbc4c2f4fc6efa9373268001e68d1ff45e3186030d5afe022
BLAKE2b-256 checksum
How to use checksums
e9eb0383db04a18cf2fe2ee958fbf348507b08c3bef6b5d9acf1aafc4950a5ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / gtx_cli-2.24.0-py3-none-macosx_13_0_arm64.whl

Download URL gtx_cli-2.24.0-py3-none-macosx_13_0_arm64.whl
Size 29.4 MB
Tags Python 3 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
5f4f6cd6788be31211cd0f4801606307da7ca82298e5137e46cf590590bb881f
BLAKE2b-256 checksum
How to use checksums
be37c75be2159ae0c1e418f58fef58b4f199dc039b1025022a081050e727708a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release history Release notifications | RSS feed

2.26.5

5 release files

2.26.3

5 release files

2.26.1

5 release files

This release

2.24.0 This release

5 release files

2.23.1

5 release files

2.23.0

5 release files

2.22.4

5 release files

2.22.3

5 release files

2.22.2

5 release files

2.22.1

5 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page