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

Uploaded Python 2Python 3Windows x86-64

rtk_py-0.42.4.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.4.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.4.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.4.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.4.1.tar.gz.

File metadata

  • Download URL: rtk_py-0.42.4.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.42.4.1.tar.gz
Algorithm Hash digest
SHA256 ac197d71840729986e4e68f796f149e1b893fd459f189f286ad94d8cacf7dbf4
MD5 89d64d09fd2dcae4dd81daabaa0a7d10
BLAKE2b-256 de43191eb381d03cc54e43b37b2708713b57c04248d476e0683abd8637b019b7

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: rtk_py-0.42.4.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.4.1-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 c70ef611abc786661c00d5212113721885770c988e339b4624fe775864a73e52
MD5 882ec295f8bad1457a70d9eeed5115ef
BLAKE2b-256 0f87eb19347bbd55d8cd4918db1ff43996bc30c9277be4fdab2b95cd6375b229

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.42.4.1-py2.py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 1be0f3959c956fd31a50bf49448c625ebb4b34dfefdcf4ea2857ea455959806e
MD5 4f067a3a6274761002784ad26f99e0be
BLAKE2b-256 8cae423ccf809c62793460428ee90d6f420deff12e38a8dab7ebb43b0fd759d4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.42.4.1-py2.py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 cd2e23a5e5bab544830aaacdae7d2443f44f7193508b9a12a15ecf82f2fac424
MD5 cb7b7c8f1242473d1c2aa2429655f703
BLAKE2b-256 d42da022e007470b38160c9f2ff93ca6eef5d6c94c2e500f85ab984c2252adce

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.42.4.1-py2.py3-none-macosx_26_0_x86_64.whl
Algorithm Hash digest
SHA256 574471bcf5a8ec8007437b679805d94350f05559f81904915303fbdc3f996622
MD5 56cb458d0ba376d3ee085866fcce7471
BLAKE2b-256 7131fb67d08072a6d0f144c01eab88a2721cf7600e90e3451fc163e8ce446842

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.42.4.1-py2.py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 79c5084b2cb736a534facbe18513c1c8c1f025dd2b8823fee74c706e6e142a5c
MD5 76a7c5b1a34f7974e943059eff280217
BLAKE2b-256 fa1712437b8aafeab32b9bddb4e1e6dfc9bb99b44c0a4b9860ef31a7940455fd

See more details on using hashes here.

Provenance

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