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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.25+ ARM64

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

Uploaded Python 3macOS 13.0+ x86-64

gtx_cli-2.14.53-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.53-py3-none-win_amd64.whl.

File metadata

  • Download URL: gtx_cli-2.14.53-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.53-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 65d7c4e32a216a4bc4505409c52bdfff0b3b96370c0af6b44b25db2e535edc6a
MD5 90f2a00cba9538097c5ebc7bedfb5006
BLAKE2b-256 6e9083e240b1573a45c75c66b84c401d88c03e36115b60328075a62d3f905d36

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.53-py3-none-manylinux_2_25_x86_64.whl
Algorithm Hash digest
SHA256 8e39833684516096453bf22fa3f7ff60e5010c3ef00f6ab1b99814d49e6272b5
MD5 8ac55889619500cf8bb3a63a206f1a1a
BLAKE2b-256 7611d9c85b918678b18f6fa1d5a9e386a86661ab38149762e0c9815486d11c02

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.53-py3-none-manylinux_2_25_aarch64.whl
Algorithm Hash digest
SHA256 67f2f477bbf2076464423132d452443e986448bf3bb1a812f4d350a21740e14b
MD5 e06e709d4f2e15d747345d4a38597cf8
BLAKE2b-256 4d4601265a8e5cc91ebedb385e5b9fa6d63427e8fe3d979f5b10bc0341b7c1a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.53-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f582b2da598ad6e7ac487b042db41ac32f6dc176f4d29438dbdb203ecebd27b6
MD5 a7d25b05d12c1cb2d4745c71ab034f4a
BLAKE2b-256 e7db54b498aeac44ae2a8b2ef940f90dedda8b1530a0bf47ef062ef7df774771

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.53-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1f423a263c9b10bbc7980535c02b2e7eb519b4e672dd19ec2481907e048c9ee5
MD5 dc92dfafcc1bd871da058711e207e318
BLAKE2b-256 3f50348af5ca9172743183b447df184225b0c28235575afb0ea5b6d7ab6d98df

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