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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.25+ ARM64

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

Uploaded Python 3macOS 13.0+ x86-64

gtx_cli-2.14.43-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.43-py3-none-win_amd64.whl.

File metadata

  • Download URL: gtx_cli-2.14.43-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.43-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e9e44c8d97fd8746a4dc2e52d34670e0237993bc88ac679dff68563c08fa180a
MD5 d464ec0890f7a284cc8766d2cac179a0
BLAKE2b-256 d65b69c9cec7abc9d69d3db8c929c1331b04d7e8c73bb206d15831b469226301

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.43-py3-none-manylinux_2_25_x86_64.whl
Algorithm Hash digest
SHA256 6504d1647793fc34a081b981a162c91d6bbba52d2d093eaea629157624180e8e
MD5 7f28f6d2b8a4bde44036dcc37bce637d
BLAKE2b-256 b8d1284a6da1e8fe296b958d533c14602cd52755bf22f6ee971260ab678b7fe2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.43-py3-none-manylinux_2_25_aarch64.whl
Algorithm Hash digest
SHA256 21b4f136c6953dbceb6980dea6d09f30ef705abf0070035346693bc854e2fd20
MD5 7746cbf270b461016a9453f75d18d5eb
BLAKE2b-256 a373e9dd8b50d5dfb76105277965470d2915a4548aa286c71267d7e63d91a00d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.43-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8e2169375c458c1900a2baed3dc7140cc0e10442eb4a6214d3e4f59e40dea321
MD5 25d905ebb63a296c83cd5b2c89cd5796
BLAKE2b-256 42ae388ece91201cb404bfe300b0a871ca37e8923892b5b3fe9a6c177c38c50b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.43-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d9646ef97be4390f9dfbc4e0af281c497b4735d3ab959b2a1a380fa4a73abb5b
MD5 0de66519e002cae251b09cbb21a9a84a
BLAKE2b-256 8c1cfe3c731a9498357dc3403b2e9c31ebc6df30ff6c3c2acbcd090ea40c7d8e

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