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

Uploaded Python 3Windows x86-64

gtx_cli-2.14.24-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.24-py3-none-manylinux_2_25_aarch64.whl (41.5 MB view details)

Uploaded Python 3manylinux: glibc 2.25+ ARM64

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

Uploaded Python 3macOS 13.0+ x86-64

gtx_cli-2.14.24-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.24-py3-none-win_amd64.whl.

File metadata

  • Download URL: gtx_cli-2.14.24-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.24-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 8e33a9baa91c4a680fef6bacddeecf045c658a8264020f38bd50e323116d9b0a
MD5 0cb8303e455708ec4c9f66a51fd84e8a
BLAKE2b-256 b3b356aa59a4840fca9d316191b030759981c7abd9c9ecaa8829338a25c1ba8b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.24-py3-none-manylinux_2_25_x86_64.whl
Algorithm Hash digest
SHA256 3719d4acfb5687585624e2b5a864604dd9f821386fa786f701420dad66f8f5a6
MD5 e327def3855dee1ff41e996be05e2498
BLAKE2b-256 a34dc0ada2c2b9b6cf73b90f2f0857939d712445dc63a1c9f4e5a6c40be67dc8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.24-py3-none-manylinux_2_25_aarch64.whl
Algorithm Hash digest
SHA256 cdde198964b15817a2222ab71af5d869664a6cbc0573ddd429372851c3c31861
MD5 d0f3428c392816149abd740b852e35c3
BLAKE2b-256 5171def5e013e4c94a28734e1be8e52a1d94a23c24e6e52a4bdd066717342f1d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.24-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 bc60ef6270ce31c1587e4b2d5d805905f3fda9ac0d77f92547a048d8c20033ac
MD5 1cb5e7b97fd93bc47c641db17b17e10d
BLAKE2b-256 e6f5a6e12f5eca0a15280c1a0a749c7bc2e5d09ae08306afb7714ebbf7cb44f6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.24-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 874c64f6448ac8ba008e3db5f4047c14555257639e17d647cca3dbbce2b1d3fd
MD5 5b7776de506c7a14533b251f366f8a57
BLAKE2b-256 cd5e2f31acdb17e453cfdd8aed158264302cbdaa7ee4003745ee638d2300def0

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