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

Uploaded Python 3Windows x86-64

gtx_cli-2.14.34-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.34-py3-none-manylinux_2_25_aarch64.whl (41.7 MB view details)

Uploaded Python 3manylinux: glibc 2.25+ ARM64

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

Uploaded Python 3macOS 13.0+ x86-64

gtx_cli-2.14.34-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.34-py3-none-win_amd64.whl.

File metadata

  • Download URL: gtx_cli-2.14.34-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.34-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 56a78a8bd85a82d7f5951f2f394b682c8929754def818e50cab026923aca2388
MD5 0a959f9d630b5a6f89ef208045b287ec
BLAKE2b-256 9a49605c521ea96cfe588f63ce0c790db0a0686cb83caa87f11eef34bcdc25b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.34-py3-none-manylinux_2_25_x86_64.whl
Algorithm Hash digest
SHA256 d95c4ea0b29bb14e24c6834b3e16cdd27ff51b42e1e505b363ddc5452b805099
MD5 a622da9b41ad37b702d8bbc1ab8ae9ea
BLAKE2b-256 88ad8ff61c1fd138acd06944e86e84206f6314fce3bcd82021a41b091a4f044e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.34-py3-none-manylinux_2_25_aarch64.whl
Algorithm Hash digest
SHA256 825b86387ee587aee92c9643b6f01e60f023d4d9f8630cced9cb8e264892cca9
MD5 e3e42797c0e2597837744242b533cdda
BLAKE2b-256 7e1826d38016a104096bbca4e7ba9998eb8846b008edf70fa0a964c8270836c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.34-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6170e0fca3997368aaf60663054f659b7af8817d7ea60e0ed904af54a1c10c49
MD5 42a662eb7b665051bed1bf681656abf0
BLAKE2b-256 11c26e8c9d9256466448710f8b7feb30d307d0a633c33828f1d7c725b328ab28

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.34-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 bcff1e2eecf0b33b80116ed8ef6bf30996045b3c7548cb74cfc760e5aeaa71c1
MD5 b62ca0f337fbff8be05ae76ccbc3967f
BLAKE2b-256 74448d2c5aa57b7ff617bce4e492c7d5f6c0415915ca25769b8e1346572fcaf4

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