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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.25+ ARM64

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

Uploaded Python 3macOS 13.0+ x86-64

gtx_cli-2.14.48-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.48-py3-none-win_amd64.whl.

File metadata

  • Download URL: gtx_cli-2.14.48-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.48-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 cdad8f641b6384493482a7e3a0912aeced50690ae08279c75db7ff068d036aae
MD5 88e62088376b35380159a2746198349f
BLAKE2b-256 b9fa43e6c7e20b902622eb834338acaffc07c613c7dc7bcf904ce864be353b36

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.48-py3-none-manylinux_2_25_x86_64.whl
Algorithm Hash digest
SHA256 37b7b2b5bff1d8aad39f5bbb3db450c4008129bbef0ae13923927de420770807
MD5 090ca9ce44fb707d309c9f69294faa35
BLAKE2b-256 28231697605f84807f4250275b867cd96ab7e8a1b3fbbc4da6bf92220797e17a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.48-py3-none-manylinux_2_25_aarch64.whl
Algorithm Hash digest
SHA256 a6e6f78cb859ebc4bbf42e95424a5e89b96eb5c8241bbf5fc6c71f0351f8bd97
MD5 ee255f64e85efc58e0dfe86e2b1f26e4
BLAKE2b-256 bfb9745f59223eb26e1636883d643d9144264d9ff48aa1333e80ca269ff85573

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.48-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1020f0576616d410f6aef18a9925fecdd54329d781fb02f02626bb54638a98d0
MD5 e89985eaa55e7e533d2f431ed4a589b2
BLAKE2b-256 f53d971983eb668ea2c97b2756b7e6c1980cab006b1e10c39baa2c35e508467a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.48-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e86b1f4e0a628cc18449dc2ccf2b882d7fc065a25b0388ec1ed388dc9595cea8
MD5 6a687c9caecff4f9b0ea5fabe4fbbdbb
BLAKE2b-256 cdc759ebf8970f1b99a93fc3f92096697ce632e7e3ebab05a3431671dad9a139

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