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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.25+ ARM64

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

Uploaded Python 3macOS 13.0+ x86-64

gtx_cli-2.14.32-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.32-py3-none-win_amd64.whl.

File metadata

  • Download URL: gtx_cli-2.14.32-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.32-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 bd59626972c34c0fdbed22845d4538fd8032665cc0769a276f49b18a02f27e48
MD5 1cbc097c1ba4c14f18792b4e6e4366c7
BLAKE2b-256 06acd1ea532820b4894ee24c6774321c86e08f5a7089823f1ee68dff7ddcde28

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.32-py3-none-manylinux_2_25_x86_64.whl
Algorithm Hash digest
SHA256 b0fff1d1fcd68e7eb532bc020dd7a25a3d42c898a0135c8d623343ed14393a4b
MD5 c324c20751e33f06a905b7730b7fa1f0
BLAKE2b-256 3116b84f0881f4fcc915941f00c84d6a27664cf4c6ff6b438225c66122bed713

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.32-py3-none-manylinux_2_25_aarch64.whl
Algorithm Hash digest
SHA256 603652186651048b27ac055b4a6af069f4ab90d7605b8971d726d6af5a8834f4
MD5 d947e3362caea135ec8d782a022a84ed
BLAKE2b-256 30804c6e8f4a493af4e9beab67fc25951c40ba1c5fab9826d5f847350181e6f8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.32-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0cf57079627f9f167848335454b1a029b510c78654ca9c16fdfbcff56abac1f5
MD5 a045b6ee5ab0ec910f0a28d46d912f6d
BLAKE2b-256 1dcec4b071966c11629ce524261e71d0a30783e303d22c8070d91569d851085f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.32-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 4a3ccb4d58d67b31d26cadbf6e7179663e7867960548f23d7d8ba7f850ced991
MD5 abed9e8e98e816964aea9d2145626c5b
BLAKE2b-256 00cb338e0c1f842bbd9c338c0b21b1443dd4c6aa43d54954148c07b0ff25c343

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