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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.25+ ARM64

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

Uploaded Python 3macOS 13.0+ x86-64

gtx_cli-2.14.47-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.47-py3-none-win_amd64.whl.

File metadata

  • Download URL: gtx_cli-2.14.47-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.47-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 473b4b6ff1b9d3140cf8f3f66946cc527c672fa512f39afbfc78f83b97cbdf18
MD5 2499473be964fdb3de9b65ea23eaa3a6
BLAKE2b-256 a5f4ec83e6cac65830cf5345b8e68ab522919a96d2cec788b23546c71554b579

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.47-py3-none-manylinux_2_25_x86_64.whl
Algorithm Hash digest
SHA256 9e8819787aed12eeae4e6ad0b060c6fa40b96388b13e34c3f11d95258e1cdae8
MD5 e93ecacadcec2949974173d60eed94e5
BLAKE2b-256 9c2e55502ec86405f982199d0e242616bce0751a9f0aa00dfcd1ca80b2e71f66

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.47-py3-none-manylinux_2_25_aarch64.whl
Algorithm Hash digest
SHA256 4ee1dd2ca486d1c5e925e5f513584318dc3bb7e1ba66698e9408d8d3d18a252d
MD5 e7235bf1ea115eb4a120aa4203b1339b
BLAKE2b-256 0280c570e894fb1e5288a9e3ae3cc69545ea18f0209fc1741bbfd1d0d5f44915

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.47-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0c854354c899488eea259b34c7382cf0b2169525e85aa4e4533ed25ba3ca70f2
MD5 b9ab10964880a6749ac26037085e309d
BLAKE2b-256 967ec4689ad95da0766a1eba7dd13c2fa553682cc1d0e3d5a50fedb9dee27228

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.47-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a5dbff2800e103eac3a744f9b799f2c603c2a72653f53620577fde72a0e12023
MD5 792e4fa7b15e81a2aae102fdf82094fb
BLAKE2b-256 73d618a2a58d645e5d748e5332bb8b16f1ee93da6edd607915ecc53f4206b73a

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