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

Uploaded Python 2Python 3Windows x86-64

rtk_py-0.42.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.42.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.42.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.42.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.42.0.1.tar.gz.

File metadata

  • Download URL: rtk_py-0.42.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.12

File hashes

Hashes for rtk_py-0.42.0.1.tar.gz
Algorithm Hash digest
SHA256 a0aba920669b15e3cee2689c361e68fdc0c02540d6aead506a4b7659545193bd
MD5 b4bd8b0e989cb1bc9d290a71790b5862
BLAKE2b-256 54a1b59e5cc6505792d6e73af94875993f3310dad4617b9045d308880f590ecb

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: rtk_py-0.42.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.42.0.1-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 d308db1f3444ab864ae4c5d6cd4c3aafa33be266848f8f261249919206f42076
MD5 05fbc603020aefe3ece9d1e9e92c31c3
BLAKE2b-256 b0065ec6087f451da839f349972072de7e5a0a54e4b7c8e8e6c2d71c9b949fec

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.42.0.1-py2.py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 b1c12c29f0103c59e9344c73f476a2f705b02f694627a1ed68f0787efca37600
MD5 c666e412b3575a37dba4488118f6dbe1
BLAKE2b-256 88512cfa1d1728140fc95b8886564a317a4b19f6a03258a84f156415bd348f1e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.42.0.1-py2.py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 6aa205bc4b1f9d9763feeee3c3ea792c787cd3be537c15d289cb0eeb7baf906a
MD5 89965ce8b23bc07e4787834b3828beba
BLAKE2b-256 8e174471003aa24c022a8bc7d02546a16cf3aea5203abb95ae13c5ecc805afbd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.42.0.1-py2.py3-none-macosx_26_0_x86_64.whl
Algorithm Hash digest
SHA256 c0fe6f79884fbc0662521e6eb8eb162d82a041c23184d5baaa80cdd5aa419365
MD5 2474c6b35d6351fb7b25aa2ba9d267d7
BLAKE2b-256 1cb7f1bef72f924153da84d88105269a52dadf7d02dafccd4d30c103cd5af785

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.42.0.1-py2.py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 ef6cde1ccd41fb052c273476ac893d351e4c252fd9437f5e1b30fd3241e2d812
MD5 01ee750a26fc5b0df42f61838910b204
BLAKE2b-256 fa1798dec5dae14ea27e379255b48ad4eec8d51c1b93dea79bf98f154350edcf

See more details on using hashes here.

Provenance

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