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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.25+ ARM64

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

Uploaded Python 3macOS 13.0+ x86-64

gtx_cli-2.14.44-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.44-py3-none-win_amd64.whl.

File metadata

  • Download URL: gtx_cli-2.14.44-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.44-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 769692bda0604b05c1c7416b412082979c77aaef0f1825259885d1e2c156e630
MD5 16a042c0bdad41e8c34f9ae5078fc928
BLAKE2b-256 a76a13d2f7d4c7ce5eb8c1edeba747f1894d3d8816a54251529dd34223dfc991

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.44-py3-none-manylinux_2_25_x86_64.whl
Algorithm Hash digest
SHA256 0f4117c68d71f3d65d90119ece06068fae6f49f3275ee6d9597a1a69cd5841a4
MD5 56eefdf4d0421f6668faf663ecfdeae5
BLAKE2b-256 cad24c536b0eef825159c14e34b379fc22f02e2e5658891fe108446b0615135c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.44-py3-none-manylinux_2_25_aarch64.whl
Algorithm Hash digest
SHA256 389fd091b3c99715e3d46749da84fb8a21c634979d4c3fb0868276fcd1f55604
MD5 dc3b1e69ff76be3d2eec5e6c6aa32c6e
BLAKE2b-256 0c6651a17c5ef64f24cc99b53ed1f78d0f9d7aef8ec817106f867b031e0ee10b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.44-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 eab0ec632b77582123556628c750f70d82da8211bfd37808123327179eeb9454
MD5 fba1e9042d2aa2a85529e236a16548f4
BLAKE2b-256 203f22e1699cd1a37cbb09d9a00ef4f7eb35997bdd79cd62869dfd4b541b0b8e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.44-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9261a163c3e99c27daf9131bb4c7c6dbafe6ab903758d694547807f56779382c
MD5 f85497a001aab9645228256dd3655839
BLAKE2b-256 049e5b21d1843ba01be93892d5f9540184fb6fafdb23e39e2a104c15a67a0749

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