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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.25+ ARM64

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

Uploaded Python 3macOS 13.0+ x86-64

gtx_cli-2.14.49-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.49-py3-none-win_amd64.whl.

File metadata

  • Download URL: gtx_cli-2.14.49-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.49-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 501a6df98a63d235314e8c4e5eef6b7ff21eb2ed3c565923035a12813bede469
MD5 bd04c00fc075111df0b986fe0545f7dd
BLAKE2b-256 41e2895327f03dc8eb004ed8961360035ffabc67a5d22b975f4a8d84e61b6fd9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.49-py3-none-manylinux_2_25_x86_64.whl
Algorithm Hash digest
SHA256 64982d7b54e3c0907b034fe5ba7e104cbddd7f9837d388a11dfb2b3f932f695f
MD5 742b23e2f3725fa299825d8dea7a0e62
BLAKE2b-256 3a09ffbcac4b71084fb2a352e465dd211456587419deb39217c04cdb8519e196

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.49-py3-none-manylinux_2_25_aarch64.whl
Algorithm Hash digest
SHA256 9f79dc1fe6f1907097ca8cb89584ad82c38c0352f1d96f42a39e3c26a6a19b02
MD5 dead9b37b4b9a6efdc6c60c6153c9620
BLAKE2b-256 eca6b7be2d427e9115f1fe5824e94bc8977be0f5489155282734e53a6be37372

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.49-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9cd4c37cbdd1fd142de5b594f487188fa321f64ca2c8cc60476245239cf6dcec
MD5 9ba91930daf1db9a5760770548711f55
BLAKE2b-256 70bfd594c1d73dc553cc96f1c55d2629f52f3cdbaa4a36be9ec737fc5d7cb2ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.49-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c11597a2354626f5b51f2512311f497515f7ce0027cae2004a87cdc4509b2905
MD5 5ce2a5515cdf6b5987b64221c32cf90d
BLAKE2b-256 be42b4aafc821ce6dd25a42b95891434c81ecca39d2c0cfc6e0ea28777744001

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