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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.25+ ARM64

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

Uploaded Python 3macOS 13.0+ x86-64

gtx_cli-2.14.54-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.54-py3-none-win_amd64.whl.

File metadata

  • Download URL: gtx_cli-2.14.54-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.54-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 4dc77d4be8b13dde308b8b1046d4d4110e8014e92bb3b564d57d6dd0c4dbb49b
MD5 4b8af5373002145942d7978e333332c7
BLAKE2b-256 80f43b6595b587370fd6bab2a3b07d1b4625e0f485dba0221a397f6d95352257

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.54-py3-none-manylinux_2_25_x86_64.whl
Algorithm Hash digest
SHA256 784645df012c804c078564a1afc00665d6330df8364644126eb109cc03810b0d
MD5 297a4e19868e7e2459b2c200812bc07a
BLAKE2b-256 a3e6a18e11c8946147f97ad015cd74dbd7acc2164f4e32a6ac04a1f030136a7b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.54-py3-none-manylinux_2_25_aarch64.whl
Algorithm Hash digest
SHA256 adff6839cc85ca69e3a4803a0c6e2e7cffb1fed5c6229f79dcf174422a077109
MD5 2ac6b433fc1a56215f01ea5be4a6984d
BLAKE2b-256 63f71447927b1a3db24a70987a281765a64e4cc97b5fbeaad5271d99d16f2e89

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.54-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f0f12dd27f6796b6c20aa342e0b03aa3f1c96a3296fb39dfca22b29e30dd3daf
MD5 c76c821bed7598afef2555a491086905
BLAKE2b-256 96d7d258183592e1f012081b72f8b2dcc0b445340f9b19b6355dd44215eac78c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.54-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 4b7b79d2467562e3978a7d279914d972d9439dbd499fbad81d3666060d48efcb
MD5 153569f6076fd4017ad5177009187d31
BLAKE2b-256 65034fb967e83d3745f9922496ba8a41161fc34b33ab876483b7bfd98437e8f8

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