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

Uploaded Python 3Windows x86-64

gtx_cli-2.14.27-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.27-py3-none-manylinux_2_25_aarch64.whl (41.6 MB view details)

Uploaded Python 3manylinux: glibc 2.25+ ARM64

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

Uploaded Python 3macOS 13.0+ x86-64

gtx_cli-2.14.27-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.27-py3-none-win_amd64.whl.

File metadata

  • Download URL: gtx_cli-2.14.27-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.27-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 fda4ef1e355459d1188e5e08c2741812397ec241e4b96eca0bba9a8e7ab624e2
MD5 bb23a6867d1b0aa1aea6f883d1501316
BLAKE2b-256 e2d19daa3bb189d28d329e9c73c513a13fe1bd1ecc9554f8a9adc5df548d3d01

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.27-py3-none-manylinux_2_25_x86_64.whl
Algorithm Hash digest
SHA256 8b981f50b65b947fcc4da06a2d70533e0d1f2f9e863edbb5de843fbfb226db49
MD5 628a5d869305fa77a52209fd04be50d6
BLAKE2b-256 584ee377558f8fd745a5157adef9dc4a15fa6e664f31351d0289f3525dadf6a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.27-py3-none-manylinux_2_25_aarch64.whl
Algorithm Hash digest
SHA256 66961dd0c4e9a6441498ecebfb36ac542570a49e816d8953215505c8a3fee53d
MD5 3668fa70dbb2320c3d517dd4ac3984a6
BLAKE2b-256 3cd586d77f9af8b8d480012b002de58eb25aad8d05ea7252309ce8bf2581796a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.27-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 28904f7279165bb464c39d3206b860eb9d8c1ff0dfa009fdf8b6c57f026bdf9f
MD5 ee643120f31263ebe02ebf800a4259a2
BLAKE2b-256 4cbcbb02ba9a734e0ee4d94ea7ea15dc6e996f1f79667d19846d91125c74a9a1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.27-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3a9bc039dd8836b63b45bf10de9a77390858ab3ca893559bd6323fb941fb92e3
MD5 21eaba03fbc5ab70aaeb7ca52fde4333
BLAKE2b-256 77071509c26835f42518a72315db32a68ec2169a53cfcfc455c0133d7af33920

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