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

Uploaded Python 3Windows x86-64

gtx_cli-2.14.35-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.35-py3-none-manylinux_2_25_aarch64.whl (41.7 MB view details)

Uploaded Python 3manylinux: glibc 2.25+ ARM64

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

Uploaded Python 3macOS 13.0+ x86-64

gtx_cli-2.14.35-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.35-py3-none-win_amd64.whl.

File metadata

  • Download URL: gtx_cli-2.14.35-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.35-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 0281478ed369456c4349f9d279df25cea7c937cc98a6bfefc86067576eb6adcb
MD5 b7a7e7c65a2c00aca1c1425979706444
BLAKE2b-256 a201c235b196e9577b1f17e384f0cef3b89e542cdf7fee4c5e12683a7d99eb78

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.35-py3-none-manylinux_2_25_x86_64.whl
Algorithm Hash digest
SHA256 9ddde12dd97e91bc57f2ec3cb71b72735570beb763d3e8b2b97051df7751ea9b
MD5 ffabfda66a88ca45128c610ff2d62cc4
BLAKE2b-256 c2955c1636322fcd85b53b905e31ba389466ddbaa0753839579de00ad4745561

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.35-py3-none-manylinux_2_25_aarch64.whl
Algorithm Hash digest
SHA256 9193183d60cce9cced53808386b514f06fab77381ba4ed16a0a3a7a29d98d865
MD5 409d8c9c3903976e9f08da18828ee24f
BLAKE2b-256 90a49179d06e34841b7b0c35f79193b946da8b28643c3e516fcf78951c6f6b1b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.35-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 078c387f184aa0ec74f1b514372ae16a9a3eb847b8f5e22d845125b3a071dc96
MD5 eec30b621245522779afcffc84e2c1aa
BLAKE2b-256 78b94dfcd0fedcdc3d5fb2b41ddc1b41dbb5d860dece8f707a4b8512abcea8ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.35-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f843ce07ab170a881460f7f5b7a70bc87aa32f447a611c53d5ebd143ba189320
MD5 1113bd046b1d6377817c44347dbff111
BLAKE2b-256 0a9474b1cfc67f874562208eec919b4b5fdf846aad52569c9c31230a2a7ba1d5

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