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

Uploaded Python 3Windows x86-64

gtx_cli-2.14.33-py3-none-manylinux_2_25_x86_64.whl (42.1 MB view details)

Uploaded Python 3manylinux: glibc 2.25+ x86-64

gtx_cli-2.14.33-py3-none-manylinux_2_25_aarch64.whl (41.7 MB view details)

Uploaded Python 3manylinux: glibc 2.25+ ARM64

gtx_cli-2.14.33-py3-none-macosx_13_0_x86_64.whl (28.5 MB view details)

Uploaded Python 3macOS 13.0+ x86-64

gtx_cli-2.14.33-py3-none-macosx_13_0_arm64.whl (26.2 MB view details)

Uploaded Python 3macOS 13.0+ ARM64

File details

Details for the file gtx_cli-2.14.33-py3-none-win_amd64.whl.

File metadata

  • Download URL: gtx_cli-2.14.33-py3-none-win_amd64.whl
  • Upload date:
  • Size: 45.0 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for gtx_cli-2.14.33-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e1e7ef2f72f4fd2d2a3f13213b42fd2329594f8bc27bcf428ebddec657ad8249
MD5 af2777bace3d52bd15781f8ec48e28e0
BLAKE2b-256 50067b0ad4d451fd68a38440a5329b9b3b036b20747457eba61178778add7cef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.33-py3-none-manylinux_2_25_x86_64.whl
Algorithm Hash digest
SHA256 5cca97149a995e4ae4ac2f2a69048cf0167f4a0f8054203077c8654fa070031e
MD5 20f6350c870f196bc39f1cfb99fb3f8c
BLAKE2b-256 3e4ee24851d32c2b48ca035505ed4d924361ec5c828967880045cb55363e4cfa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.33-py3-none-manylinux_2_25_aarch64.whl
Algorithm Hash digest
SHA256 872a0e5f12532a8e071520df109882eb65d36aed8b4f9ed3089ec98763594eca
MD5 7d801c38641fa22cab3f2febe6683217
BLAKE2b-256 79c77856988714f0abe007f6e1e2c940d45f573d6579f980186def345c7ae5fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.33-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5b0ae08058d9cd68ab3b4c8ce08fee1d56a09398c272cf54d424ec3c883fc905
MD5 1cc4b7667d2fea9c1ec491f76ff7c267
BLAKE2b-256 86e155a295b0100bd5837665a0fa405b349245ef7dc1461a2320543643643f80

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.33-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 733ef3baa0ff4fd083fd453aa131a160166a5407566ea68cfea3ffd6526b7dad
MD5 2b6f8027bba70183c279faf95efbcf23
BLAKE2b-256 ab2a16a95d52414f137770cd4bd391a528e9c072b724a077b19cad0f92ddf878

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