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.1

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

Download URL gtx_cli-2.22.1-py3-none-win_amd64.whl
Size 43.6 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
d047893a14b085f73a6d299ebced90215d149e9df99eac51f261c326b5e7af1b
BLAKE2b-256 checksum
How to use checksums
9a831ef0ff01401d7492566dec188b056975ea3f40bf42e97ef4619423b69453
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.1-py3-none-manylinux_2_25_x86_64.whl

Download URL gtx_cli-2.22.1-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
4fae51451b5f8af6c2ad45c8900b260fe5983c050fca4ca2014b1e59b46596ec
BLAKE2b-256 checksum
How to use checksums
bbd605cf38874240dc4d9bea0ca698186b59e7fdf24d6482044422b29bacdf99
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.1-py3-none-manylinux_2_25_aarch64.whl

Download URL gtx_cli-2.22.1-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
8157aaf1d034180fdddc17121c8def4da7b26ae114a95d30cab281474fab823f
BLAKE2b-256 checksum
How to use checksums
4de04547b22d7513ccbd6ebefaa6b48fb6fd637021adaa329e1b95a59521e5c1
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.1-py3-none-macosx_13_0_x86_64.whl

Download URL gtx_cli-2.22.1-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
1d14db90c5fc5d40430acaad071f4e854e74bd345a32898603731b3de76dce1b
BLAKE2b-256 checksum
How to use checksums
afa2b87547ee6386db831d9e7b6fd1bc79cc349eff318a9577c09cd41690d273
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.1-py3-none-macosx_13_0_arm64.whl

Download URL gtx_cli-2.22.1-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
432c2ffdd40faa7aa6e064f4c11da7e3c860dd2416aa11b92cfb822b53ea0c29
BLAKE2b-256 checksum
How to use checksums
ea556e77afd72d436c6345133f485a7c0c944f549ac4dcba96c489a35228c3d9
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