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.30.1.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.30.1.1-py2.py3-none-win_amd64.whl (3.7 MB view details)

Uploaded Python 2Python 3Windows x86-64

rtk_py-0.30.1.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.30.1.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.30.1.1-py2.py3-none-macosx_26_0_x86_64.whl (3.8 MB view details)

Uploaded Python 2Python 3macOS 26.0+ x86-64

rtk_py-0.30.1.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.30.1.1.tar.gz.

File metadata

  • Download URL: rtk_py-0.30.1.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.30.1.1.tar.gz
Algorithm Hash digest
SHA256 da3c2060fa627165b4196fd5f580f734d85e032273c05eedea8dd7ce93955186
MD5 b5c9a633eb086cead1198e3e24fb5606
BLAKE2b-256 c05802048345e948f553e1c626ec7457e2877fe788993bb7809d6691bfb0a9cc

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: rtk_py-0.30.1.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.30.1.1-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 6166c42450270d0ea3afdacf15cf4e9dcd334ef3eb9fe44f01be1a4670627d47
MD5 4db8e752860d75409dd0711019485da3
BLAKE2b-256 cb90e871406c3a7eb99c1b7c508f6a9d5e43f821abf0c7dcfe5e47dc1f73c495

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.30.1.1-py2.py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 bbe8d5d1d21b5c25649d7ff320356aafb39d175252dd91a2ca163228d0377377
MD5 69bc353e2da88e3f4b3695403ef97018
BLAKE2b-256 eae1ed42e7dc7d062af2fe0090c1db22755c6d56016e0f2a9f9e1985449b590d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.30.1.1-py2.py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 86a0f6c867f22624269816e76b0e655abd85225c11b4f31911ec6c1e5d02a2a7
MD5 2db7d56f84f70076746060e534378df0
BLAKE2b-256 5db72d98fc4b764811408a9d0566083f4e4e273deee2c4c7faf75094c585b719

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.30.1.1-py2.py3-none-macosx_26_0_x86_64.whl
Algorithm Hash digest
SHA256 0e466c75cf6db2721a7fee1ac65db3c342eaae2bc060b2216ea938237a0f15ec
MD5 690354bbf27cc233bfbc974c08b425ad
BLAKE2b-256 6c9e005d0fd91ed7beca9ae4c90953714153e57f4038510dcb220e919760f701

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.30.1.1-py2.py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 bb08955c7f64bf135f242dce83122b38613ac6f8bc7ceff1b18a4b37399ba348
MD5 f54d53be5aaa1ba92ed6bb30940212af
BLAKE2b-256 c5160a4466f9562598a6248d4ea9e93c92c44e38451662accebff3a8bb136b7c

See more details on using hashes here.

Provenance

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