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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.25+ ARM64

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

Uploaded Python 3macOS 13.0+ x86-64

gtx_cli-2.14.42-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.42-py3-none-win_amd64.whl.

File metadata

  • Download URL: gtx_cli-2.14.42-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.42-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 f0fbe0d1653c92d09a88a384e28b9232fd4917ddb8fc147e7bc84c2a2156d1d9
MD5 2058e002d474017e54d3234e62ba0a60
BLAKE2b-256 eb3f01ab626a68bd4ea20c469a92497df927d69a87b53e75d60a40c1efb50d91

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.42-py3-none-manylinux_2_25_x86_64.whl
Algorithm Hash digest
SHA256 8eb821ba10d96ba698d17b001059398f4590c69245391d106194dceab97e09d3
MD5 4bd889d29be0c8c96244c4d44db12003
BLAKE2b-256 77c702a707729ee1a90697db0ff9ad9d89a8c578eb597914d86444ad4a2be283

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.42-py3-none-manylinux_2_25_aarch64.whl
Algorithm Hash digest
SHA256 027fc503277d4314012f56c776fe2ef7f8aa78e6ffbfaf1a894631e818312adc
MD5 d86accdd917664561c6959cfb8b6ef4d
BLAKE2b-256 4b6425a23f6e59d0ac07c41e99822250aa752c3e3e168ca605156bd820633b09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.42-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d9993b0dc3b2e5d2e2a6a0e2ee57b638ad27af43f99e103a6cca697834fd6054
MD5 f6189ae58e4633e60bd4e58a7a554c67
BLAKE2b-256 34a88225b5dd572ec9c351162ccbb60e9bdc20704cd85fe3989613841a9f9c93

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.42-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7edfe672ef4611b9564a70a2605d48d0369fffa68a049aee1b6b1761ec8994e0
MD5 363b4b92d08165bcbd23d5294f97ad06
BLAKE2b-256 80999ff322bb3f6fb30ec7295acbb6d58dbdd0738ef82ac562af74c168572338

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