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

Download URL gtx_cli-2.25.0-py3-none-win_amd64.whl
Size 43.3 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
1579c2d95c9392aefad2e664cf5069a11ed34d68f6f458e1518844015afd1cd4
BLAKE2b-256 checksum
How to use checksums
baa86979ee5cea69ca6ddafef7d66eba53aab5185149b977b61e6793c42661a6
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.0-py3-none-manylinux_2_25_x86_64.whl

Download URL gtx_cli-2.25.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
dcf5a4e5e3a662163c53640439267965e50111de74a2b33df533ad2dff8dc57f
BLAKE2b-256 checksum
How to use checksums
63dd14bc72707daeddad86d016aa07ff59742bf0646314f215cc7e0fd77a8c34
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.0-py3-none-manylinux_2_25_aarch64.whl

Download URL gtx_cli-2.25.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
a407425f85eccdbd8e8981eb1535d39601bd08754bd9a60f176c811882f2cf6c
BLAKE2b-256 checksum
How to use checksums
a24f43373d7846fc413250db51ba6145b51d117c6c73182c655650e979b515fd
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.0-py3-none-macosx_13_0_x86_64.whl

Download URL gtx_cli-2.25.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
db2558b95472dbe363cf0d507950b152d3120b17d5ce26ed1a2fe2d7213cb780
BLAKE2b-256 checksum
How to use checksums
584699792309728c80f5d4a4c1f4aeb7ec01040c03b05a4e743d2b09df9ebf99
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.0-py3-none-macosx_13_0_arm64.whl

Download URL gtx_cli-2.25.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
79209d3dff5411a44673cf98bd670ed64f0832c28951584fe011a2465dbd1ee0
BLAKE2b-256 checksum
How to use checksums
577273749b376cc3566abba7a385c117aac93ae9b1e763ab0d94f9c1235de4b7
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.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