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

Uploaded Python 3Windows x86-64

gtx_cli-2.14.25-py3-none-manylinux_2_25_x86_64.whl (41.9 MB view details)

Uploaded Python 3manylinux: glibc 2.25+ x86-64

gtx_cli-2.14.25-py3-none-manylinux_2_25_aarch64.whl (41.5 MB view details)

Uploaded Python 3manylinux: glibc 2.25+ ARM64

gtx_cli-2.14.25-py3-none-macosx_13_0_x86_64.whl (28.3 MB view details)

Uploaded Python 3macOS 13.0+ x86-64

gtx_cli-2.14.25-py3-none-macosx_13_0_arm64.whl (25.9 MB view details)

Uploaded Python 3macOS 13.0+ ARM64

File details

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

File metadata

  • Download URL: gtx_cli-2.14.25-py3-none-win_amd64.whl
  • Upload date:
  • Size: 44.8 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.25-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 2d88ef09f4ca2e205c87077fc4d2491837bb5bfcc05e89464320da0a6b26279c
MD5 60091379bcb1d3e48ed7e9e53621bdb1
BLAKE2b-256 f47908629d848e813b4f3b51acd78cc3b0d1ebc64a6d008242fa81118523e038

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.25-py3-none-manylinux_2_25_x86_64.whl
Algorithm Hash digest
SHA256 f9499c7b1e86344ea8cedca5dd0b15714cb08cb6d45018cad1629573d0da22fa
MD5 fb43180a4a729dede97ee6ce2d486433
BLAKE2b-256 be7566436e7a4aa24430570be9a9e634f44e7b041c219294a830cf37f7687ad6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.25-py3-none-manylinux_2_25_aarch64.whl
Algorithm Hash digest
SHA256 a91ce73ca0e710297ecc586f32e1aba738114217557ffae3223dc50b67588a23
MD5 b1bb3fb2bd4720d79bcb85431690e8d3
BLAKE2b-256 c2231ff9edc07b7f57fd8a35205b8dfc50de63dfb33beb4ea7e42b07a01c6fc9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.25-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4bcf4f1993f92c070465a68181d57e047ebc1a7b3692b538a32ea6ec93a37213
MD5 bd9983b76b1121879e064eac1b724382
BLAKE2b-256 49015aebc33074dcdf7acd8be527ba1c363cd58bdc270dbbd63fc6c185559218

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.25-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 50aa4be30ae7a90de73cc3446096e2eaba0e6f3e76f0931f7575f2ae37ba35d4
MD5 4c55ec78b1a78d855d2f547c22684a59
BLAKE2b-256 66a2718aa40e7bec8015fc62f4e260d70030bcc5a67ffc263822aea83198144e

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