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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.25+ ARM64

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

Uploaded Python 3macOS 13.0+ x86-64

gtx_cli-2.14.41-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.41-py3-none-win_amd64.whl.

File metadata

  • Download URL: gtx_cli-2.14.41-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.41-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 b5c676ad05a08aaed14833950ceed52b559523d86f40f0af2a7f046dfb357449
MD5 e4c75191a946dc9dea7b6abef67b7d09
BLAKE2b-256 1fc75c836932ac76bfbf4196218badf45f0289f270692a2937315ffe888dc018

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.41-py3-none-manylinux_2_25_x86_64.whl
Algorithm Hash digest
SHA256 114a2865654eac427c69498312b1c97fa4d4b26a4178bc021dc7ebbb1df317a0
MD5 e95017e0aee544509f5d61bf39027227
BLAKE2b-256 3681f15a2e44855e15937ba34087360d3a8ff10b17d0e749ba5d43bfec44f63b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.41-py3-none-manylinux_2_25_aarch64.whl
Algorithm Hash digest
SHA256 e479c7028d6a02f58d2e895e1cf53ccd4190e4f89cac08e2278ca4a6b47c9475
MD5 6b6e2efee2a356e2be3bb0850fbf35a5
BLAKE2b-256 0b09d90373db076638ec1c4477d5ac7537392dc83f73212cfcbf2c5ce5a9ed7b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.41-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8130dc17f1b2828d04dc15c4dc14c3417044c8fddd66a9c5f823773e2dcd537d
MD5 beea2ae52b3d6c5978e9edb8d13713f6
BLAKE2b-256 3e208c0bd911637c8a5daff964db6f597a2fedea251eaa9fb88b106c027e3996

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.41-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 16b179c45f719ecdc8b8f009f760ad4fe902fb3cc60d5865cea5d465f1325648
MD5 6a7741714ae4910d2d0c811ef6db2516
BLAKE2b-256 5e129b5aaf82ce20fba1995778ddf96f031c2aacbb5a77d2d6999f65a038598d

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