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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.25+ ARM64

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

Uploaded Python 3macOS 13.0+ x86-64

gtx_cli-2.14.57-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.57-py3-none-win_amd64.whl.

File metadata

  • Download URL: gtx_cli-2.14.57-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.6

File hashes

Hashes for gtx_cli-2.14.57-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 07cbbb0e969b8e27663dc766095946d36c1de276c4314e8bd0cee44a68f82870
MD5 1de98320f700191fb42fc386d8cc327c
BLAKE2b-256 8997536c535f28491bbaca2c1ab08168dae0bccdeb7b27634aaaa5fe2124dec6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.57-py3-none-manylinux_2_25_x86_64.whl
Algorithm Hash digest
SHA256 156a3d1268eb207cd07e060624b8e12087e3bcff149e8d82699499d43ff0c615
MD5 762f6012bad9a5ed6aa49f4d3b76e998
BLAKE2b-256 71fb674b85ddef50411dcd6bbd5d729d86666d5655ace79e0175ff7bc39bbff6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.57-py3-none-manylinux_2_25_aarch64.whl
Algorithm Hash digest
SHA256 1ebb303d964d9bf539cda2d2b3b0d828b1d66a985f830599e6c33949bcfbd64e
MD5 68c76dd4aad2f3a86fb97a2cbbf8b58a
BLAKE2b-256 a7ab78094a1f270f73f10361f706d2fe32cec26c19862c798a1a07f9dc884925

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.57-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2506ea8235975d86435249d02d8e49abccfa364da193b89d94e707cd3341a24f
MD5 c999a85824194317950594a85c500093
BLAKE2b-256 5aa9e3885bf084d5d11810e9820e596b5bf1b5cd6792e9d85771a28c9fe66047

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.57-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 08fb1c46b3dfabf2a509c3e68ddcc7a87b9c3af4af2aca8a834c3328cacaf978
MD5 aa5486113772346097b3fc1c84fde2bf
BLAKE2b-256 671d00bfa5226b37a83fdb5ec89ba36dd9b97b9ff26ca4373aa205aeedbdc71a

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