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.37.0.1.tar.gz (4.6 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.37.0.1-py2.py3-none-win_amd64.whl (3.9 MB view details)

Uploaded Python 2Python 3Windows x86-64

rtk_py-0.37.0.1-py2.py3-none-manylinux_2_17_x86_64.whl (4.3 MB view details)

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

rtk_py-0.37.0.1-py2.py3-none-manylinux_2_17_aarch64.whl (4.0 MB view details)

Uploaded Python 2Python 3manylinux: glibc 2.17+ ARM64

rtk_py-0.37.0.1-py2.py3-none-macosx_26_0_x86_64.whl (4.0 MB view details)

Uploaded Python 2Python 3macOS 26.0+ x86-64

rtk_py-0.37.0.1-py2.py3-none-macosx_15_0_arm64.whl (3.7 MB view details)

Uploaded Python 2Python 3macOS 15.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for rtk_py-0.37.0.1.tar.gz
Algorithm Hash digest
SHA256 b258ee5abf8549a341c9102bdbe05e8cd861ec75cf0fdc87473fc947d42a0f1b
MD5 7f0f90cb6865bd3e6afa51d9e1c4cf99
BLAKE2b-256 62d3e29ce63ecf4bc839c9bb82497852f759ca4633bbd0db94cb05e510095b47

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtk_py-0.37.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.37.0.1-py2.py3-none-win_amd64.whl.

File metadata

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

File hashes

Hashes for rtk_py-0.37.0.1-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 7435b4b8577108f9bbe35c9f84e3a3951be8b9fe1e5f76a7e51085c42494fe65
MD5 2c7fecc61ab4f770ae9b3bb1e4900a90
BLAKE2b-256 29b16f894edfc487565ac889e950648a74923923f5e2844ee04ac6d1dbcf5a36

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtk_py-0.37.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.37.0.1-py2.py3-none-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for rtk_py-0.37.0.1-py2.py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 acd123c860bb27e9e9ccdf16e5433c07a53cfbe58374860928f9e6698d9b25da
MD5 f5999fff826476bdea4456d1eaef9769
BLAKE2b-256 84894e081867be8fc32f0293151e58315c9735f99c04a1875211147d1b5f11ba

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtk_py-0.37.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.37.0.1-py2.py3-none-manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for rtk_py-0.37.0.1-py2.py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 76cdf87615323e7d37c35dabc79ae2f14e338b7af8c2c2f9684ade90ae9c0357
MD5 901cd9b663761ece27b8ffb3a327abbd
BLAKE2b-256 b353ba4f94ad8ecda3bb521f2274b07cc4b3c3b334a5d15c819e710d5eca147b

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtk_py-0.37.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.37.0.1-py2.py3-none-macosx_26_0_x86_64.whl.

File metadata

File hashes

Hashes for rtk_py-0.37.0.1-py2.py3-none-macosx_26_0_x86_64.whl
Algorithm Hash digest
SHA256 4ed13f70783da679863bd0f37e769cdc90500ee0961e73c4462883dda1c771f7
MD5 1b4f4dd96435cb5dfd5e38dae24f0e4f
BLAKE2b-256 2fc0a1922188a0774fdda6faa501fa6e897304e397174669a574e33ea6ab31a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtk_py-0.37.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.37.0.1-py2.py3-none-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for rtk_py-0.37.0.1-py2.py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 91980d1def698368209b01a409e7b8c55e8bb8ce83017d555f0bedcb49b140c4
MD5 82bfab47a68c976a2e8b830d56fd8158
BLAKE2b-256 14f67137b778382c3f5a1910b28d3d9d62cdb1ab8a70a66dd66f6f2e184e9866

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtk_py-0.37.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