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

Uploaded Python 3Windows x86-64

gtx_cli-2.14.31-py3-none-manylinux_2_25_x86_64.whl (42.1 MB view details)

Uploaded Python 3manylinux: glibc 2.25+ x86-64

gtx_cli-2.14.31-py3-none-manylinux_2_25_aarch64.whl (41.8 MB view details)

Uploaded Python 3manylinux: glibc 2.25+ ARM64

gtx_cli-2.14.31-py3-none-macosx_13_0_x86_64.whl (28.5 MB view details)

Uploaded Python 3macOS 13.0+ x86-64

gtx_cli-2.14.31-py3-none-macosx_13_0_arm64.whl (26.2 MB view details)

Uploaded Python 3macOS 13.0+ ARM64

File details

Details for the file gtx_cli-2.14.31-py3-none-win_amd64.whl.

File metadata

  • Download URL: gtx_cli-2.14.31-py3-none-win_amd64.whl
  • Upload date:
  • Size: 45.0 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for gtx_cli-2.14.31-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 da811cbbda890a01a867133c1d962e9e88e70581ecdbf3fcb34a62624be05f61
MD5 d9864bdec3262dd396b7f138f9297543
BLAKE2b-256 e5643695069571425b6b20ae22b2f759b83ec5d08debf1e47c7683c7ccfbd0d6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.31-py3-none-manylinux_2_25_x86_64.whl
Algorithm Hash digest
SHA256 b8f9d30c734d4347960356fe7067ac2419e14779b517a2b435d31fd3c540fa82
MD5 3a6f52169b1aa8d6d40a7fc166205d27
BLAKE2b-256 70f72860b88440dfa858f8a4862c842b8dc6dee9d28181d76a245fef3f98f0c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.31-py3-none-manylinux_2_25_aarch64.whl
Algorithm Hash digest
SHA256 9b653fbb4a715994d366f2ae7884607ff02b51a0bc0515fe1ca29e12c6e3efbf
MD5 b3857843d5e6ae488967d8375df566e5
BLAKE2b-256 4cb83ef8d9c43fc0053a3c209eeb91e1a3d8f5e079cc0e39dc528c3e3c80c738

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.31-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 47152f584f8f0fbb10a1855bf618851ed2c7aa75c41d3e42a616c1b0cf53a9e8
MD5 cf8c35bfb07acff0795beba72c49c4cc
BLAKE2b-256 6fc0ad58762404665d2b5c8dcc2424ced0fd05fffa7743ef9f60e624218fdefb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtx_cli-2.14.31-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a1ad001a53c4ce6219ceebf6e9aecfd99bef061915c95ebf5e2386fb1e260f3b
MD5 cc8f24f60e709609388fb8c860a1dfff
BLAKE2b-256 492f58dc217d9d89e048d476f863d22313965f64cfb38f1e3f5d48daa71a4074

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