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

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

Download URL gtx_cli-2.22.4-py3-none-win_amd64.whl
Size 43.6 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
079262015f3e2daf91648883da0d0f104534820f9f3bd115903fea7291c998bc
BLAKE2b-256 checksum
How to use checksums
c4b7742762bf98ace1ff691c32f07e1badccea27d0ab486ca99d717fa27e36eb
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.4-py3-none-manylinux_2_25_x86_64.whl

Download URL gtx_cli-2.22.4-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
48e6356388ed557f2fa8ea76846c3aa8446f28de30a36eb32b9bbea4e8b5e395
BLAKE2b-256 checksum
How to use checksums
8457463401f3c663fce35062c534adcf065026819c978195bb3a6cc64a50e5a0
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.4-py3-none-manylinux_2_25_aarch64.whl

Download URL gtx_cli-2.22.4-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
ef932814cadca64f09a130506b720e9c91d673b536c0f95d78d54a129ac17209
BLAKE2b-256 checksum
How to use checksums
35fe6a2afa33dfc5bbf9105761ce8fd067a82f35c440cafa3aa6251844c847e5
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.4-py3-none-macosx_13_0_x86_64.whl

Download URL gtx_cli-2.22.4-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
c3bd556e63c19c1da2c0d9ff1b510be6ab1dbbcf21712046cd082b66cba0d087
BLAKE2b-256 checksum
How to use checksums
e5e2d3b8331b1b44f111b9ced2e42b1f8f704a2b56d7cc9eb6194e97ead58b70
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.4-py3-none-macosx_13_0_arm64.whl

Download URL gtx_cli-2.22.4-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
47f206b642b0de7dacadccdc293dc686959d6a0b7f0b06169d4ec6c5332e743b
BLAKE2b-256 checksum
How to use checksums
b100d5853a01db3651e893956bb472fa07641c2042937d3cd41616e4fd3307f7
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

2.23.1

5 release files

2.23.0

5 release files

This release

2.22.4 This release

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