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

Uploaded Python 3Windows x86-64

gtx_cli-2.14.39-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.39-py3-none-manylinux_2_25_aarch64.whl (39.0 MB view details)

Uploaded Python 3manylinux: glibc 2.25+ ARM64

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

Uploaded Python 3macOS 13.0+ x86-64

gtx_cli-2.14.39-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.39-py3-none-win_amd64.whl.

File metadata

  • Download URL: gtx_cli-2.14.39-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.39-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e667377dee46e213185c5e641a7da566c25354513e40e2c46f617605b98240bf
MD5 a4077343deb1021a569fa3a50a834baa
BLAKE2b-256 fbb645ea1cbfb5f5fa3e2eeb3df045df8ddd7250eed46dc3656e2a0825114cc9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.39-py3-none-manylinux_2_25_x86_64.whl
Algorithm Hash digest
SHA256 906b8ed37935fce27072aece2cfcaf75ff4e6051ed361f229f0a32eec654b19f
MD5 81dc1b8055385666ca5e81850f1ff3c5
BLAKE2b-256 5923f8630fa96feaefbbb334e0379e984af03e52ca2d7fc36e274aacdf1263b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.39-py3-none-manylinux_2_25_aarch64.whl
Algorithm Hash digest
SHA256 8574a348ec56e891fbea664eff8f89d9f92ea5bcb549751221ceed4104e5daea
MD5 11ab486bbdfc4f34112bc31c5b416fe3
BLAKE2b-256 b5a79dba494e5e4f50ece6a6231dde47fe333f614af1a8394fb4e0e7f29df96b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.39-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 cbc3b9bc7e5432870678e8d45ebd306fc769313e6de8f4945e6849607762a3e7
MD5 2ef6c64b24e04a1f6b62301fc0c2d626
BLAKE2b-256 368eebc61e7044fb499ec7803d6ae58f9618cb793681c3eb7bf1cbbe97e2b98e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.39-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 373769d75c05aa3e54e0dbe5ae9f86b150f2f3692cba599c59cc46767874e9be
MD5 5971e71cb64b3ea9d657d05516e351de
BLAKE2b-256 df58caf11173811b23d2fd9de9bdbd4f0ffcc1f9fa9377866af7bf2fe66a1a80

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