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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.25+ ARM64

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

Uploaded Python 3macOS 13.0+ x86-64

gtx_cli-2.14.56-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.56-py3-none-win_amd64.whl.

File metadata

  • Download URL: gtx_cli-2.14.56-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.56-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 756f3986c5b3def527f19d6afc984e506f75b5eb886d629bc728828590464750
MD5 5e34e2735d6b5dd015b8fd6ee5a329f1
BLAKE2b-256 6dd7143661b3dc9ac627fc51e12aecd4315eec55ad58b5c8fc5cc179cefc6024

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.56-py3-none-manylinux_2_25_x86_64.whl
Algorithm Hash digest
SHA256 e0fb84fe71a2e836cdcbcb79930d7f6e49bcbdca77e0641ad25b03bde31720d8
MD5 4e233d67c9cc0e37819cbf15d877330d
BLAKE2b-256 4b5f19100c08acdd087239aad44258c965c6c02db8cf6f640ee1d702053957fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.56-py3-none-manylinux_2_25_aarch64.whl
Algorithm Hash digest
SHA256 d3359698b89c07d4b5326ff53bf9a298376edf086a93a56814e6e32b0cadf06f
MD5 63fe754cb6c8e4ed9961c226733356fc
BLAKE2b-256 e7ce94152c939c4bf9fc7527eea093f76168acc22c797e6145da08db5e599f3a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.56-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 10dc18ee81f73dcef06486f9efc2b64f5dd318e6d854ecef92235c2b65c8bb34
MD5 32702dd3e5babd76d97f9a368796e0ea
BLAKE2b-256 513cc342282cc94036b12b610bb366aa31ecf19155b770173899e5450c636d9e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.56-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 72179073d2442cdd13b40b41765a7ea5542ea5778f5151e71abc46e6aac53018
MD5 2505af807a6bb0d824d04919d46c4d6c
BLAKE2b-256 b53c9572ab5a7ab88c4643550b589ae90584264b6b01a7fadb4b6d6e4d68340b

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