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

Total release size: 185.7 MB

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

Download URL gtx_cli-2.25.2-py3-none-win_amd64.whl
Size 43.5 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
6afc778b0da3a09305326ea8ff19701f367258a949aa40457e78f1d5ad103777
BLAKE2b-256 checksum
How to use checksums
1779360c84934bd03f5b67d324ae40893043927e8216957e26d36aae25ea444f
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.25.2-py3-none-manylinux_2_25_x86_64.whl

Download URL gtx_cli-2.25.2-py3-none-manylinux_2_25_x86_64.whl
Size 40.3 MB
Tags Linux glibc 2.25+ x86-64 Python 3
SHA-256 checksum
How to use checksums
da320fadd081c235c3c50c9c6cf8b9d31f1be0d2f63bc3e555bf406533a3925e
BLAKE2b-256 checksum
How to use checksums
2319406bd86062c3846c0365121719a4fc8a36ab874d4c558d930e86184b9e4d
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.25.2-py3-none-manylinux_2_25_aarch64.whl

Download URL gtx_cli-2.25.2-py3-none-manylinux_2_25_aarch64.whl
Size 40.3 MB
Tags Linux glibc 2.25+ ARM64 Python 3
SHA-256 checksum
How to use checksums
4868fd2a8bc3bf118f5b86869efdea3a89d49fcf8d925e0d61f6be15e68ef8bc
BLAKE2b-256 checksum
How to use checksums
098ce077edf1f8e8c8bbf04e186c30fe9247d509e1a378f29429d8029af75fa3
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.25.2-py3-none-macosx_13_0_x86_64.whl

Download URL gtx_cli-2.25.2-py3-none-macosx_13_0_x86_64.whl
Size 32.1 MB
Tags Python 3 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
b163ed4f552fe6c664a558b3d3204c100a0807af03e0351fd1f1f15a73290d8f
BLAKE2b-256 checksum
How to use checksums
c4c6f0f7d47c6700e798f098e181474c175cff1887d1f0fc93d4ab294b437c5e
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.25.2-py3-none-macosx_13_0_arm64.whl

Download URL gtx_cli-2.25.2-py3-none-macosx_13_0_arm64.whl
Size 29.5 MB
Tags Python 3 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
d33c49f55cfe7fac21c3d737564949d452106dd43114bf81af87013ccd1e9b71
BLAKE2b-256 checksum
How to use checksums
dce62ed523df18b09af314553333ae2c11c297a435d65dc05a865365ec77b873
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.25.2 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