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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.25+ ARM64

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

Uploaded Python 3macOS 13.0+ x86-64

gtx_cli-2.14.50-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.50-py3-none-win_amd64.whl.

File metadata

  • Download URL: gtx_cli-2.14.50-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.50-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 5c0eee6ea31169fbd24e593d9eaa29ae5fffdc7fec8c1a44a6ba361107e85956
MD5 59c1ae5879425d20869410e8f02ea51a
BLAKE2b-256 aeac7eaf35c6325ddcca1fd7efbde80cc40fbe18a0411459813d16a844bf61da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.50-py3-none-manylinux_2_25_x86_64.whl
Algorithm Hash digest
SHA256 de4be555eaacb3130b6f8171e6d29bdac44333a4ee1122fbfff03fa2b66d6d56
MD5 15a35d38f7e5ac7e76782ed9bd17aa90
BLAKE2b-256 2f1924f851518b8bd0512790a7e2e7a1fba733b3d5e7feaf8555ab84acc46ef9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.50-py3-none-manylinux_2_25_aarch64.whl
Algorithm Hash digest
SHA256 2b8a31022f883d017f966b72f9cfa6f27902c4fe7f4a3e9e6cb91a7667ee94a4
MD5 aca29e6564119bf127e9eedee7cce2a6
BLAKE2b-256 85d0407a4313233b1fc042fde8e911a122f8e83d11edd7ce9cb911e7854ccad0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.50-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7e41d504fd204c0961fe672ccb07b96b5c458ba2395ea67aad09b1c3fa797ac0
MD5 10d9c7c6c8a8a75934c3f6c0d324ddb7
BLAKE2b-256 3f681b3a7b76f06b6136b31f017afbb1693475cbd2f79241a83ec8e6f29b8535

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.50-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d580622b95c7091ba7c16c862a4fcc8411d34afe9f73cf16d46b48bc5b2d49e1
MD5 084408c999e0146d2dab00d3935d3bef
BLAKE2b-256 4b6db3d99084b8dfa4c66af66ab694c4fd7306341419e83302e57f5a0fdf6073

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