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

Uploaded Python 3Windows x86-64

gtx_cli-1.0.158-py3-none-manylinux_2_25_x86_64.whl (41.9 MB view details)

Uploaded Python 3manylinux: glibc 2.25+ x86-64

gtx_cli-1.0.158-py3-none-manylinux_2_25_aarch64.whl (41.5 MB view details)

Uploaded Python 3manylinux: glibc 2.25+ ARM64

gtx_cli-1.0.158-py3-none-macosx_13_0_x86_64.whl (28.3 MB view details)

Uploaded Python 3macOS 13.0+ x86-64

gtx_cli-1.0.158-py3-none-macosx_13_0_arm64.whl (26.0 MB view details)

Uploaded Python 3macOS 13.0+ ARM64

File details

Details for the file gtx_cli-1.0.158-py3-none-win_amd64.whl.

File metadata

  • Download URL: gtx_cli-1.0.158-py3-none-win_amd64.whl
  • Upload date:
  • Size: 44.8 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-1.0.158-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 5f97f413f24b8955cd26dcf1387e7d91110b15b0dcd3ba6d05840e58e9ced759
MD5 7724d57ed03e403af07862be01f17673
BLAKE2b-256 6cd89874c77e230dd047ced814afffad455a1a6084b8856f928aaae653c710ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-1.0.158-py3-none-manylinux_2_25_x86_64.whl
Algorithm Hash digest
SHA256 07af61d5f9f9e4b0e53d3f81b7dfb793473ab3cc207ad5b1ebcce737eff30699
MD5 b7b65fee01b8a1b67d90dc7af933dac4
BLAKE2b-256 d621f8a5202d79e87be46588e1c3bf59ea0509efc72834fed67db70bf98bb9e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-1.0.158-py3-none-manylinux_2_25_aarch64.whl
Algorithm Hash digest
SHA256 d31725db7a2c6995c583a29d818f1a9d8110bd1724436cc68e8f2b181a7b8e73
MD5 781cea3f006f68dfcb9ddb630674007e
BLAKE2b-256 4dfc860ef1857c02d3592fdc75e472794e343affe13b0b8e7347da8293f9230e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-1.0.158-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c54423f2810608faf26cfc30defdf9a45d0b36780f58e9277d00def4bdc4bce1
MD5 f88e86e23618face8ef7da3e1b618bc2
BLAKE2b-256 0504f16ed2abcd4d74dcab859be15b09df8c737040ad8a879e06b81a8a2c1d9d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-1.0.158-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b157c950fbb9fd33dd2ef1d7803a5022fbe1ebd7117cdc3b0ce3af93f219be3d
MD5 5db950c2c8859fcce94472c8525ef85e
BLAKE2b-256 6846f5886b7ee819b0be005735e4651124d78500437cc60bdbf1d0b80b303311

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