Skip to main content

Self-contained Python launcher for the General Translation CLI

Project description

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

FSL-1.1-ALv2. See LICENSE.md.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

gtx_cli-2.14.40-py3-none-win_amd64.whl (41.6 MB view details)

Uploaded Python 3Windows x86-64

gtx_cli-2.14.40-py3-none-manylinux_2_25_x86_64.whl (39.2 MB view details)

Uploaded Python 3manylinux: glibc 2.25+ x86-64

gtx_cli-2.14.40-py3-none-manylinux_2_25_aarch64.whl (39.0 MB view details)

Uploaded Python 3manylinux: glibc 2.25+ ARM64

gtx_cli-2.14.40-py3-none-macosx_13_0_x86_64.whl (29.8 MB view details)

Uploaded Python 3macOS 13.0+ x86-64

gtx_cli-2.14.40-py3-none-macosx_13_0_arm64.whl (27.3 MB view details)

Uploaded Python 3macOS 13.0+ ARM64

File details

Details for the file gtx_cli-2.14.40-py3-none-win_amd64.whl.

File metadata

  • Download URL: gtx_cli-2.14.40-py3-none-win_amd64.whl
  • Upload date:
  • Size: 41.6 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for gtx_cli-2.14.40-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 c6dc5b24ddd4a3c1d2f7bb5d57b828b9f71c75446c4bb3e881b88831a6c2c3ec
MD5 2000cb036db9d6bed8bdedcbe262a371
BLAKE2b-256 b95e9db1ae58f9ad1f04389032cf0266afaaeaba1dc7fb1541992104d9ac163c

See more details on using hashes here.

File details

Details for the file gtx_cli-2.14.40-py3-none-manylinux_2_25_x86_64.whl.

File metadata

File hashes

Hashes for gtx_cli-2.14.40-py3-none-manylinux_2_25_x86_64.whl
Algorithm Hash digest
SHA256 3757e489462cc06bed4fd9a5fdba0bb8f91d6c0bd63342529ec9f2d3c5783d49
MD5 89e1b04f2ea5af8d09fe5ba6c2089ec2
BLAKE2b-256 8ec8ed6971c72f46d3a245bd0df1f594f168a44632b58b3fbbe2ffc19b73654b

See more details on using hashes here.

File details

Details for the file gtx_cli-2.14.40-py3-none-manylinux_2_25_aarch64.whl.

File metadata

File hashes

Hashes for gtx_cli-2.14.40-py3-none-manylinux_2_25_aarch64.whl
Algorithm Hash digest
SHA256 6974175983595951be89d9523693a21f36317b8dcdbe7f9366ac9c4a6c0302cf
MD5 0929a6d1146f128bd19580fbb2b529c9
BLAKE2b-256 194e8378273664f572a3e31bcbe48685372ccab161aec19f30fafe2a30a6b7f2

See more details on using hashes here.

File details

Details for the file gtx_cli-2.14.40-py3-none-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gtx_cli-2.14.40-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 06a1af4191f4624bc6326f0724c77a811149003de2510494dd4dad88020f8303
MD5 10107cbf33a7a77823bb4c3c9cbd2a68
BLAKE2b-256 9cc1d81a566fab92d4c5ddfefc773603ab78e26f68f4cf770a48944051a56ddf

See more details on using hashes here.

File details

Details for the file gtx_cli-2.14.40-py3-none-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gtx_cli-2.14.40-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8ed4ff0715412b9bce1298f1c28d8a52cac1e47e31bcde9e10d83cc460580774
MD5 4c008c51507661bf122455fe824cf4bb
BLAKE2b-256 dbbadd7ed8375fd4bea3471201216634f3d4dfdba2488e4b98a23d0de525e6a0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page