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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.25+ ARM64

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

Uploaded Python 3macOS 13.0+ x86-64

gtx_cli-2.14.45-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.45-py3-none-win_amd64.whl.

File metadata

  • Download URL: gtx_cli-2.14.45-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.45-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 92ddd24f1dbc0d16f390cd53f8d9fc156712dfa83861d03120fbf6a16cdd54c9
MD5 b9f130a0cf7eb5ad22a47cf5da2d82ac
BLAKE2b-256 68ddc6a6aac9203fc7c08b0a7523cda0f6c6fe515877d45e7d615c0ef812f6cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.45-py3-none-manylinux_2_25_x86_64.whl
Algorithm Hash digest
SHA256 98e31b41b4278f6b974a3b9c2f3f9c2ad1aa374aea8ef74cd6949df2a9c738d1
MD5 56cebebc825843519d78654d9c2d9983
BLAKE2b-256 ff8013d5d44bf5686a36ea95690b7cde09b279aeba0bf10f63abc7ca0c697ada

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.45-py3-none-manylinux_2_25_aarch64.whl
Algorithm Hash digest
SHA256 1986b47d34d2d0fedcc89905bac5eda937f4cdce08b955a5ec6313d43c46eb11
MD5 da51df4327eae50c2bce5f88e3ae8f7a
BLAKE2b-256 c23a9557acb367ed75877c375279e5792c819ec424273f33a093f3bc909773cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.45-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 513db7bd7e0241b5773f423b1be8aad1ee5b73c847eb939477e28dda3df83cbd
MD5 ba820018e5f31a2339a9f5c0c09d6e5a
BLAKE2b-256 654172354cf3cc0689ad07dd56e8cf69dea7257179b83e5266a72dd90cb82cd0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.45-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d1e57d81b53a4a67f2dbe78ec24ebcff9fc748e7505190179385f1e5753625e3
MD5 d6ebf90dab4002961939d1efb283590a
BLAKE2b-256 f5b5c7a6b4d5c593695fc44b876cbae5ef176666176acc1deb69b7d9eb9afa7c

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