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.43.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.43.0.1-py2.py3-none-win_amd64.whl (4.1 MB view details)

Uploaded Python 2Python 3Windows x86-64

rtk_py-0.43.0.1-py2.py3-none-manylinux_2_17_x86_64.whl (4.5 MB view details)

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

rtk_py-0.43.0.1-py2.py3-none-manylinux_2_17_aarch64.whl (4.1 MB view details)

Uploaded Python 2Python 3manylinux: glibc 2.17+ ARM64

rtk_py-0.43.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.43.0.1-py2.py3-none-macosx_15_0_arm64.whl (3.8 MB view details)

Uploaded Python 2Python 3macOS 15.0+ ARM64

File details

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

File metadata

  • Download URL: rtk_py-0.43.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.43.0.1.tar.gz
Algorithm Hash digest
SHA256 c89f03038c92aeae4b009762f3c58d61bbd39c7944e6fa7efbab48486020b0ef
MD5 c9f0bb2c2289dbf5d34414807e31e578
BLAKE2b-256 380d9de3f44fa864b50f9a81195f4d41ac6c28797a908f828e3e9e42ea172708

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: rtk_py-0.43.0.1-py2.py3-none-win_amd64.whl
  • Upload date:
  • Size: 4.1 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.43.0.1-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 0e1f54c05a55d1b0cb5ef99bb48e84225f74fff19cb8c5ee1ce9e489090a804e
MD5 ad0f0a75cec28b7030da06fd529db93c
BLAKE2b-256 db650b51c8c69fb7086303c64326788ce9ee07e73a261c0ab35278f8b2a0eace

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.43.0.1-py2.py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 7c6e750e3f25757929430a61b0759ff229866a9c98bff5d4d1fad1ae9dc6ba28
MD5 701669d5423104212f39241d1da2b341
BLAKE2b-256 f5b797b204e5e4ac29381507d905d6312916936726a94390240f246e6ff0a729

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.43.0.1-py2.py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 56c83cf16b6ff2683837f1bf3a6412cbe441088bb516728aa6367b4e8edcbdc2
MD5 c826a3662e25f3d7b3d8c43b977a661f
BLAKE2b-256 91fff37d6d59635f165e0747d13efd2f5d752651dac77c980589531af4c86fa9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.43.0.1-py2.py3-none-macosx_26_0_x86_64.whl
Algorithm Hash digest
SHA256 3ea25794ac8baf54ee13f0b44178b29c2e332b5ce119dc95afc1008561c9eba7
MD5 1c6276a86a0a146662ccc8ab0d0566e0
BLAKE2b-256 25165226c45916038a3004781646ef9e8c0ddabc53166212eedeecdd5670f4e2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.43.0.1-py2.py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 b9a42bd2d915f905e001c4972df6b8c065c6558748c2d31ed760be3f0db6db78
MD5 4b1b26b2a406e1cfe97265629f3511b0
BLAKE2b-256 c0b8fb0ee5b4eb966eafcec7ef2b71128943f202ccd15f23ae74d800ed779736

See more details on using hashes here.

Provenance

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