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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.25+ ARM64

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

Uploaded Python 3macOS 13.0+ x86-64

gtx_cli-2.14.51-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.51-py3-none-win_amd64.whl.

File metadata

  • Download URL: gtx_cli-2.14.51-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.51-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 ffcbcf1c0f5a911316bbe11b9b69c528293968805cdee8a27c3c0aa64c02601c
MD5 3bae3142b692755f59d368ddceac9761
BLAKE2b-256 04c6f6e8b36389f08ee8728064618890b9f0795fe8e51c75853af714418a22ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.51-py3-none-manylinux_2_25_x86_64.whl
Algorithm Hash digest
SHA256 09a43a8c76f6dbc84fa5f067021785e220d9a2d5657acb7ebd40fb542c13072b
MD5 f568165bedbe275d34ba118483641c6e
BLAKE2b-256 2a827f8723d225492fe9afe2060c9e6491b1001e1939963250ed52f0162ee127

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.51-py3-none-manylinux_2_25_aarch64.whl
Algorithm Hash digest
SHA256 50c90fb83f7d8a87c855d39c2989c689e276c5388cca3c6e666ae2cc37f05205
MD5 2f34639bcb1fffb5d6a7b4b9f39e966c
BLAKE2b-256 d96375f90ae40160a0c6f4a188050fe2ff317446021976624e5aa322f62d47fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.51-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a2af404089a408dff8f5fe9e24b12123eb0fa083994cdf84b51be444496c1c20
MD5 3c10db491327034b6a64bc901c4446e3
BLAKE2b-256 996d33aa60cded2e5a9034b4f74bc439018417368e390e4cf2fe1f22b66a8f90

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.51-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e98c004bb016ddfbb2afc534aa5574d7e7d9cbf7c3825baad3057cdd8d53823e
MD5 0b038fe9ceb4a27acfc8cae789b43965
BLAKE2b-256 3179e16610c7be690723a6036c6e48e5576cd0023bc7c571ba729744a732dc22

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