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.38.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.38.0.1-py2.py3-none-win_amd64.whl (4.0 MB view details)

Uploaded Python 2Python 3Windows x86-64

rtk_py-0.38.0.1-py2.py3-none-manylinux_2_17_x86_64.whl (4.4 MB view details)

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

rtk_py-0.38.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.38.0.1-py2.py3-none-macosx_26_0_x86_64.whl (4.1 MB view details)

Uploaded Python 2Python 3macOS 26.0+ x86-64

rtk_py-0.38.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.38.0.1.tar.gz.

File metadata

  • Download URL: rtk_py-0.38.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.38.0.1.tar.gz
Algorithm Hash digest
SHA256 e5ee2e9d6f417aa77031f09f68e6bd38088dccb34cca30db2e70dc8a9dcd85e3
MD5 11baf9e22506fbd8bc6c60f016517c7a
BLAKE2b-256 4f11c30a572821aaff4a16b395e1cd280bd826c2e3c76156503337bd13999fa7

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: rtk_py-0.38.0.1-py2.py3-none-win_amd64.whl
  • Upload date:
  • Size: 4.0 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.38.0.1-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 1dd60b1905cd015bf81dc608f1b5ba1fa53c2016f7253ddb612f5509e6691247
MD5 fc72f4077027998dc1b21d38afadcd90
BLAKE2b-256 9f77ffc75d1125336596de7a45400b6e896a0ddc5b5861f58983e95c7f9d868e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.38.0.1-py2.py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 8bc3a7cc8e3eb2d2d180bc47f10cb0cc4c76482b1f1718cebeebfe4bdf33da2e
MD5 4d0a70a9e6f901be90bfce51f240592a
BLAKE2b-256 ec69b6958f5f31e3bcb9894dfae9f7fadb32f8cabf752c8f3c5016b6bf08a480

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.38.0.1-py2.py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 903e813a3676aee08208ce52759a6f868168421f79781b2fa63a00597142ff2b
MD5 691a07f6b80323c4ab9fac5f098d2469
BLAKE2b-256 06d392bd36ecf23d1bef6486f59deb98a37a9c686e96fc9cbbab0376b0fc3329

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.38.0.1-py2.py3-none-macosx_26_0_x86_64.whl
Algorithm Hash digest
SHA256 a21f6f5ad7efa7ce025a20f61ae14faf7f963448ad2add03bd774333b0d834c3
MD5 5a4984fbff0e4da9909bd66b210ce9e7
BLAKE2b-256 21d8535193666b704c4a743e27dada690c107821ee7af6c3c405c5b29c1c7f18

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.38.0.1-py2.py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 77ca156ce3ed262c96644db61e8624ee16537e9c1b50882f7943228ba01c1d6d
MD5 e6983eb10b71f147b261158bfc2cbd68
BLAKE2b-256 8b9bbbc595ea78b79ade36b1a07b5d844eab877c7b179fcde548656b33b11d80

See more details on using hashes here.

Provenance

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