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

Uploaded Python 3Windows x86-64

gtx_cli-2.14.29-py3-none-manylinux_2_25_x86_64.whl (42.1 MB view details)

Uploaded Python 3manylinux: glibc 2.25+ x86-64

gtx_cli-2.14.29-py3-none-manylinux_2_25_aarch64.whl (41.8 MB view details)

Uploaded Python 3manylinux: glibc 2.25+ ARM64

gtx_cli-2.14.29-py3-none-macosx_13_0_x86_64.whl (28.5 MB view details)

Uploaded Python 3macOS 13.0+ x86-64

gtx_cli-2.14.29-py3-none-macosx_13_0_arm64.whl (26.2 MB view details)

Uploaded Python 3macOS 13.0+ ARM64

File details

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

File metadata

  • Download URL: gtx_cli-2.14.29-py3-none-win_amd64.whl
  • Upload date:
  • Size: 45.0 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.29-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 0e98e64e87574cd84bbe26aa627a3f776f902789b3430d0308b5ad3e8a584b46
MD5 ed5f7bcaff1bd9f66ee228e7cd54a958
BLAKE2b-256 ac398b049263a50546441d6c951edee7894a62c6d7055511da434d817185751a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.29-py3-none-manylinux_2_25_x86_64.whl
Algorithm Hash digest
SHA256 0e8ff342394a38d622f880ae47d2ea11d3cf8f2b9dd65371d03b28ab4afec856
MD5 a2c97c96be8124756b937338cc438dfa
BLAKE2b-256 68e97be1c216d9d4290c550537ebb0236d5c8252779e37bc426491fe1c12d14d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.29-py3-none-manylinux_2_25_aarch64.whl
Algorithm Hash digest
SHA256 3b69e3a74df3e62e89b143f2b28e5a8ad533ecc0cfa62a0f118f68ff5abae824
MD5 53f51deb084fc152aeb5884ec5715379
BLAKE2b-256 56c3c01aa7c835a07b106ea5c7959a5bdc389fcee2d9ae0f1559dd621c3ae65a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.29-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d73c4f279059a9b25d8285ea3a9411faa246c684da7b11692d41bb4e9c6abbf8
MD5 f2990464cec44a2019731bf6322f32b2
BLAKE2b-256 b55165b9170b4fd7cfafb4702b89687ea28dd670d191ec73ebcf7b6278dc1791

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.29-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c25a86760533e14c40f3f68e68dc79196b5d7e01c20279d23c720fa100dfae80
MD5 c8c447029e6077860efbd7e7b618776d
BLAKE2b-256 10ef67314675c868c2d4aa01fbd7adbec860aa00468121fb9290cf355fc2d536

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