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.28-py3-none-win_amd64.whl (44.9 MB view details)

Uploaded Python 3Windows x86-64

gtx_cli-2.14.28-py3-none-manylinux_2_25_x86_64.whl (42.0 MB view details)

Uploaded Python 3manylinux: glibc 2.25+ x86-64

gtx_cli-2.14.28-py3-none-manylinux_2_25_aarch64.whl (41.6 MB view details)

Uploaded Python 3manylinux: glibc 2.25+ ARM64

gtx_cli-2.14.28-py3-none-macosx_13_0_x86_64.whl (28.4 MB view details)

Uploaded Python 3macOS 13.0+ x86-64

gtx_cli-2.14.28-py3-none-macosx_13_0_arm64.whl (26.0 MB view details)

Uploaded Python 3macOS 13.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for gtx_cli-2.14.28-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 0fc3f8f1c820915886ee6910e60c6d7bf493c6b13418d9709ca363f3d8d78f17
MD5 3ad5fdc2cf7504cb81ffc5da73d5952b
BLAKE2b-256 ba193d6109de78698f24d0f4b98f2c9d12afcc95b98d4052566057b1687cad51

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.28-py3-none-manylinux_2_25_x86_64.whl
Algorithm Hash digest
SHA256 27defcc3391db4c037c8414a79ba7c5b50c3897940793bb139520e4cbb41aeb2
MD5 f18247bce2d9632c126cd34bdd2622a8
BLAKE2b-256 394698526278616336a66315cf7183da903ef7f80aa688ec9dbd653579a1d09c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.28-py3-none-manylinux_2_25_aarch64.whl
Algorithm Hash digest
SHA256 8ebfba8a2ac025f48b956e50d86ee65332043049e84c506d2d46e24360297dd6
MD5 8bf099cbb80cbd93914139b828e83826
BLAKE2b-256 3925786ca7af2b09e85bf5939d8b3326f9b0a2863c26cb72b3d27313bd5603be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.28-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 add8c54f5e57851f5b32e37737ee184a705ecaddd89a97145b529d5775432e3c
MD5 88dedf1303af27a3784aee50cd754e86
BLAKE2b-256 dedbfbad1a4b695dde706f3bdef6d798fb3bccfad9e5a0cd3e31521f0d4e3b01

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.28-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e99ee4b9f5917d33460fc7e8cf6051d1e3766748d829adf8dccd6bf13b423a06
MD5 48c20c92e5066a3bf2b671e351aade86
BLAKE2b-256 021a78913b5a15cf56674b1302de24bf97bdda4b269ef0658f811d690aa1633f

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