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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.25+ ARM64

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

Uploaded Python 3macOS 13.0+ x86-64

gtx_cli-2.14.55-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.55-py3-none-win_amd64.whl.

File metadata

  • Download URL: gtx_cli-2.14.55-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.6

File hashes

Hashes for gtx_cli-2.14.55-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 ca940b311661f5883de944be8ed8f6ad66633f0fbad7daa0378aaa85694c9680
MD5 54bbe554088a1f72ca2cd397bf3bb60f
BLAKE2b-256 7e42b35bf1f71e94f3b34b1913bf18c3285bf876fe0b89889fbaa2680d223cac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.55-py3-none-manylinux_2_25_x86_64.whl
Algorithm Hash digest
SHA256 383c170a03d73a0e1ec1e56aaf124fd4f3129e9e7067d498a4a84448ddabbcf0
MD5 7412ba478ad70c89d9fbf378c5388d0b
BLAKE2b-256 46b84579587c128c130c5bf0bb35242c4288d1bbb74bc8741b242be34bf88dbe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.55-py3-none-manylinux_2_25_aarch64.whl
Algorithm Hash digest
SHA256 c58fe992c67f18d7aeaad6404208984071c8cefe61b3bfe17739f437612ef7a9
MD5 7b82d6e01a23e8d747875960ed720709
BLAKE2b-256 9129f8c9eb7bbb5d8d0249a50710059cad0381e69bb37336b96a2ff9b87045a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.55-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8a18d43b11eb708c019f07205625dbebf17a5fc9061a0047c3a4108a202782c6
MD5 94a065d23fa78dea1e65225472f2165d
BLAKE2b-256 5a27bb3fc7bc08c0bba7d9d4f123007af09c8c2ea505ad48b438fe021ddf540d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.55-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f56b8726e8d2d5182f74e0e2a0d2a2f3637bc073c5fb53277fa8fbc1f83c8753
MD5 68fd2fe6d4fa3d664be3adc7cc3f7f7e
BLAKE2b-256 552f0c23a116e0fbdbf2109ed6c82770192a97a2d12401ddb341d924f17af8d1

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