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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.25+ ARM64

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

Uploaded Python 3macOS 13.0+ x86-64

gtx_cli-2.14.46-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.46-py3-none-win_amd64.whl.

File metadata

  • Download URL: gtx_cli-2.14.46-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.46-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 820c6122fa0325a2b85f8641978dedb48c115b2d475ab1d5df721492819b520c
MD5 9539606f29b3622dd9c44fedc80ff36c
BLAKE2b-256 465ca10435368b59018fa598f377329b04e762dfb86d9b89146d8fe83f8e2036

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.46-py3-none-manylinux_2_25_x86_64.whl
Algorithm Hash digest
SHA256 92802c2e25840c0671c3013ba59355a91d54f08beac6937e0641f39cda9ed6fb
MD5 00f66322071a0b0bb380f638c94e2bbf
BLAKE2b-256 8dc9bc5cec1b457612d44fefd1555536a6131e9e0276677412b44f57737472cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.46-py3-none-manylinux_2_25_aarch64.whl
Algorithm Hash digest
SHA256 d82e7f2504b2dee59ed5cb65cf05d1adcb5ec9aa7900c0c450ed013a5a7e7b9e
MD5 3a7ac899d0996fb778d3ece84187a22e
BLAKE2b-256 9b52a5043c6ab4d12db94a64f3a56cbf0d3a444ff7e8af260bedf00191c7715b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.46-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4833985aeddcef6336c029c0de8c1000f29e83f462db1523a6eeaf1cba4ae9df
MD5 e28da82a1d0a5030397315ccc843ab1d
BLAKE2b-256 2d2f61f59d81c68135865d206f206dee2a846bb41103507f37fa83049ee2f0f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.46-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 95c0cbd1b2be0368b7418e965ef6945affd513cd51544129afa16e8e5d579fd8
MD5 6347e434dc126eaa3e99d90e6186cbc1
BLAKE2b-256 130f239f6f34b4d275f6ed913566a3ff98641335fc4c494016c4f5f2aa632b48

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