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.

Release files for gtx-cli 2.22.2

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.22.2
File
gtx_cli-2.22.2-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
gtx_cli-2.22.2-py3-none-manylinux_2_25_x86_64.whl Python 3 none Linux glibc 2.25+ x86-64 Details
gtx_cli-2.22.2-py3-none-manylinux_2_25_aarch64.whl Python 3 none Linux glibc 2.25+ ARM64 Details
gtx_cli-2.22.2-py3-none-macosx_13_0_x86_64.whl Python 3 none macOS 13.0+ x86-64 Details
gtx_cli-2.22.2-py3-none-macosx_13_0_arm64.whl Python 3 none macOS 13.0+ ARM64 Details

Total release size: 186.2 MB

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

Download URL gtx_cli-2.22.2-py3-none-win_amd64.whl
Size 43.6 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
e6b38cbfc30e12316915fe5045d89e02de3474869f25d600a96323111b089280
BLAKE2b-256 checksum
How to use checksums
13973e9e560d30e470f9d2f2412a1e7fb08fc63122d4f23f4686210e6be92fc4
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.22.2-py3-none-manylinux_2_25_x86_64.whl

Download URL gtx_cli-2.22.2-py3-none-manylinux_2_25_x86_64.whl
Size 40.4 MB
Tags Linux glibc 2.25+ x86-64 Python 3
SHA-256 checksum
How to use checksums
4187a48f4eba16c4d477dd9a0865a9e5c1bbd72c1decdd62b3d4f6b49afa839c
BLAKE2b-256 checksum
How to use checksums
ae1f62dd8b4fb82768b1da48f1972b99c140b2b2f8df9feed290cd0c45b296bf
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.22.2-py3-none-manylinux_2_25_aarch64.whl

Download URL gtx_cli-2.22.2-py3-none-manylinux_2_25_aarch64.whl
Size 40.4 MB
Tags Linux glibc 2.25+ ARM64 Python 3
SHA-256 checksum
How to use checksums
55902dd15d9cc0d026b84db08680ddc59795f50d1b1ccb03c29160cf1dd68ebd
BLAKE2b-256 checksum
How to use checksums
6fe536fa577ea44f10dee1cb588e821f500d73a21d66703b2addaa37bb600a12
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.22.2-py3-none-macosx_13_0_x86_64.whl

Download URL gtx_cli-2.22.2-py3-none-macosx_13_0_x86_64.whl
Size 32.2 MB
Tags Python 3 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
dc3a21d5231d477b22ebaf41f617888761210f9bec60ccd021d8738c0ee8ff75
BLAKE2b-256 checksum
How to use checksums
8f69085f6b6803e62e5d557f1bfc4d33cc1ad4f619abfd152171de3cd058edc8
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.22.2-py3-none-macosx_13_0_arm64.whl

Download URL gtx_cli-2.22.2-py3-none-macosx_13_0_arm64.whl
Size 29.6 MB
Tags Python 3 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
542687116caccd3b52b200200858c2879b59f11128f2dd9336c0145e0055fb6f
BLAKE2b-256 checksum
How to use checksums
3a00e1e0b51c53a54dc74c0b32df4350ad7f7dc8b6d0f72f94422c5e41e2aa49
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

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