Skip to main content

Python wrapper around invoking rtk (https://github.com/rtk-ai/rtk)

Project description

rtk-py

Python wrapper around rtk — a CLI proxy that reduces LLM token consumption by 60-90% on common dev commands.

This package downloads and installs the pre-built rtk binary for your platform, making it available via pip install.

All thanks to @pszymkowiak for the real meat, I am just a lowly wrapper man.

Installation

pip install rtk-py
uv pip install rtk-py

Usage

After installation, rtk is available for use:

rtk --version
rtk init --global

See the rtk documentation for full usage details.

Packaging Inspirations

This package follows the same pattern as shfmt-py and shellcheck-py. During pip install, it downloads the appropriate pre-built binary from the rtk GitHub releases and installs it into your Python environment's bin/ (or Scripts/) directory.

Version

The Python package version tracks the upstream rtk version with an additional Python release suffix: {rtk_version}.{py_release} (e.g., 0.28.2.1).

License

For the code in this repository — see LICENSE for details.

The rtk binary is distributed under MIT.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rtk_py-0.29.0.1.tar.gz (4.7 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

rtk_py-0.29.0.1-py2.py3-none-win_amd64.whl (3.7 MB view details)

Uploaded Python 2Python 3Windows x86-64

rtk_py-0.29.0.1-py2.py3-none-manylinux_2_17_x86_64.whl (4.1 MB view details)

Uploaded Python 2Python 3manylinux: glibc 2.17+ x86-64

rtk_py-0.29.0.1-py2.py3-none-manylinux_2_17_aarch64.whl (3.7 MB view details)

Uploaded Python 2Python 3manylinux: glibc 2.17+ ARM64

rtk_py-0.29.0.1-py2.py3-none-macosx_26_0_x86_64.whl (3.7 MB view details)

Uploaded Python 2Python 3macOS 26.0+ x86-64

rtk_py-0.29.0.1-py2.py3-none-macosx_15_0_arm64.whl (3.4 MB view details)

Uploaded Python 2Python 3macOS 15.0+ ARM64

File details

Details for the file rtk_py-0.29.0.1.tar.gz.

File metadata

  • Download URL: rtk_py-0.29.0.1.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for rtk_py-0.29.0.1.tar.gz
Algorithm Hash digest
SHA256 5bb2c96c072d93b1167db6655b02fb37ba9ddd7ac625d8622635eae218bb8277
MD5 a3e3868f2ac739ee6dedf24d1e0e09b6
BLAKE2b-256 50b92b0feef1fdf5c0d337a867fe2e6e2e1af37c7838cc41f8e97c4c3ce61448

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtk_py-0.29.0.1.tar.gz:

Publisher: publish.yml on markjm/rtk-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rtk_py-0.29.0.1-py2.py3-none-win_amd64.whl.

File metadata

  • Download URL: rtk_py-0.29.0.1-py2.py3-none-win_amd64.whl
  • Upload date:
  • Size: 3.7 MB
  • Tags: Python 2, Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for rtk_py-0.29.0.1-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 168946ac961c77ef70a3ef7b0c80a7a64e23bab284fc613308ee49955a8fb51d
MD5 4ee6bdcbec185b94e6b53ee58eb51b71
BLAKE2b-256 594091a7df5e35d925ecd14007b00be10b606aa4419a5f5822398bbfe32acce4

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtk_py-0.29.0.1-py2.py3-none-win_amd64.whl:

Publisher: publish.yml on markjm/rtk-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rtk_py-0.29.0.1-py2.py3-none-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for rtk_py-0.29.0.1-py2.py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 a250359105fc459f016939e5cf013e96421d6552128c4bf467c4f80dd15861ee
MD5 387dc4ac1aed93c4e84c53c318d0775c
BLAKE2b-256 384983879597e0247264aa6083691f464b995a0f62998f4c2c8ae716e4922928

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtk_py-0.29.0.1-py2.py3-none-manylinux_2_17_x86_64.whl:

Publisher: publish.yml on markjm/rtk-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rtk_py-0.29.0.1-py2.py3-none-manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for rtk_py-0.29.0.1-py2.py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 02ff6b179007aa2d79b43be3555bf6edcd47680970245b978c160fe6750bfc6e
MD5 a36620fd6da9d889ad827e521338551e
BLAKE2b-256 948600821af1b8756dfb76cf93b6a407cfc3092266003eed483435d20ab2d86c

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtk_py-0.29.0.1-py2.py3-none-manylinux_2_17_aarch64.whl:

Publisher: publish.yml on markjm/rtk-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rtk_py-0.29.0.1-py2.py3-none-macosx_26_0_x86_64.whl.

File metadata

File hashes

Hashes for rtk_py-0.29.0.1-py2.py3-none-macosx_26_0_x86_64.whl
Algorithm Hash digest
SHA256 df6a9175b22a27cc67f7d6586a006b7b969db3e8196c697d5c4b0306ab661d8e
MD5 e7b31f19f718b98b443310515c0d1087
BLAKE2b-256 fcc2453600252dbdba8d441aada2dec12f20005211a0da30722570dec386f7d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtk_py-0.29.0.1-py2.py3-none-macosx_26_0_x86_64.whl:

Publisher: publish.yml on markjm/rtk-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rtk_py-0.29.0.1-py2.py3-none-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for rtk_py-0.29.0.1-py2.py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 7d4a03bf77b8bf8456bcb5cde07e81853e94c753f8fb50c9bfcc1997ecd749f7
MD5 13cb1eca64c59a43dc01517067ee1ac3
BLAKE2b-256 3d5913d25a5e4549a50229afdff557d5e8f41af4aa06629263a483e0a60af428

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtk_py-0.29.0.1-py2.py3-none-macosx_15_0_arm64.whl:

Publisher: publish.yml on markjm/rtk-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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