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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.25+ ARM64

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

Uploaded Python 3macOS 13.0+ x86-64

gtx_cli-2.14.52-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.52-py3-none-win_amd64.whl.

File metadata

  • Download URL: gtx_cli-2.14.52-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.52-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 38df9b8f601296c918ad0702b956acaf8f3081892416df5dba4ef539ad1cea28
MD5 9e89b7c65aeb3c61b11328ddda0dc2c9
BLAKE2b-256 89c891ccd603f4e159e4fe73caf3c6fb1df87155d2c06a6a1af7ac854e4ef925

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.52-py3-none-manylinux_2_25_x86_64.whl
Algorithm Hash digest
SHA256 e630c6193e0af07dec61a0d42fba463e62f3b029afd0c51389685262479a3884
MD5 a8239beead67f0c1f01b1437a24cc1e6
BLAKE2b-256 3d7851317e2fa8467869308845f0c926d8c5311192090e092c6fa4bd1caf5112

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.52-py3-none-manylinux_2_25_aarch64.whl
Algorithm Hash digest
SHA256 e0290b5024de8026ad4c42a6ee8e69380e8d7dd7c4f757951bfeaef7488ec043
MD5 db908c23aab327ae57ef4f34b3301840
BLAKE2b-256 8b6f9cb0260932f3e8df176395fce49384ae22d463851a793407fb39e468bdb6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.52-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2dfaeb56958628927e75dce31a464a10ddf8e24a9cada55cb80f816742be31b6
MD5 8da27033bd704ac33b0adc411b569c84
BLAKE2b-256 797e18a38d29056cf586f87fee987e643234444ef6b760b2a52f99fc335d39da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.52-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0c153798f368cdc1330cfe1469dace4989b690f9870f9e11abfae8d85b60ba59
MD5 3634b34cac2bf709f2f822783cf30a4b
BLAKE2b-256 81b63264acb9a72575a52d4d291aa62a748c8b2cc41244f760de7adb269a0f21

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