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

Uploaded Python 3Windows x86-64

gtx_cli-2.14.30-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.30-py3-none-manylinux_2_25_aarch64.whl (41.8 MB view details)

Uploaded Python 3manylinux: glibc 2.25+ ARM64

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

Uploaded Python 3macOS 13.0+ x86-64

gtx_cli-2.14.30-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.30-py3-none-win_amd64.whl.

File metadata

  • Download URL: gtx_cli-2.14.30-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.30-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 b53964ff8c33e4b0c3e40e208a4c3fd77a4ba558a5f83ef6b63904d1663a00b4
MD5 9422fe6caa6783d925dac896245ec9d4
BLAKE2b-256 e31f3aff489ce3d2208ea78c42b97668874b4a0cdfe2f6f57f8215d623b95126

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.30-py3-none-manylinux_2_25_x86_64.whl
Algorithm Hash digest
SHA256 de58ccb76969a0be5c72e66c8b85d94442931355fe4164caaaba52f8114f245a
MD5 5b3ee733140cdb6be11dded280a46344
BLAKE2b-256 d4e5d5411e9ef97f56b4ba943965bd0e19cefdcc80ce864fd5a62730006a5566

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.30-py3-none-manylinux_2_25_aarch64.whl
Algorithm Hash digest
SHA256 24fe9b1c7a086925171bc22808541e69aec2f3a10c19ff899a1fd34cbb3a897e
MD5 d717ed16dbfdccad23b4ab856909c36b
BLAKE2b-256 b1be5d70cceeba6cbcbf7f93205e5071d58716e5fb9c344a7b66f822f4ff0c95

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.30-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 00f725d73e13cf0ba956b6cdc1b917a57282e1c31952406ff66bee7a192da310
MD5 52efaa81c8c1163fc7e2163651eb1a5c
BLAKE2b-256 9aa8e6a92741719cfe016e273c2dc1128b0496fad5974f732ed8560474d6c60a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.30-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 4d599ddb811b43b475f3084b9cfe25cb9e25771d74f1c0092a1dec02426fe262
MD5 5eba7c6ec13882438642216f2166f3a7
BLAKE2b-256 7b0507cc6462d6401cd8a2fa743b45fd83f5e656af2b82708dc5dd81503d38e4

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