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.37.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.37.1.1-py2.py3-none-win_amd64.whl (3.9 MB view details)

Uploaded Python 2Python 3Windows x86-64

rtk_py-0.37.1.1-py2.py3-none-manylinux_2_17_x86_64.whl (4.3 MB view details)

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

rtk_py-0.37.1.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.37.1.1-py2.py3-none-macosx_26_0_x86_64.whl (4.0 MB view details)

Uploaded Python 2Python 3macOS 26.0+ x86-64

rtk_py-0.37.1.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.37.1.1.tar.gz.

File metadata

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

File hashes

Hashes for rtk_py-0.37.1.1.tar.gz
Algorithm Hash digest
SHA256 2aa70251a2fd74ab8a1d0916a2535c62073b6065f753aa3ecea6e7fa514dbe7b
MD5 6affe1f24a5fed1aec37363e008a6220
BLAKE2b-256 fa60378e5ba0c1d98d3d2a06210f2b513240aa7baf4e3eb55ab6eb00af9a7132

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: rtk_py-0.37.1.1-py2.py3-none-win_amd64.whl
  • Upload date:
  • Size: 3.9 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.37.1.1-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 b6fd3ba7639f836f10a265136978931efdb5a05f69fc8a0874ffc81acd7429af
MD5 2e21e9b6b16be47e9aeb93888da544fe
BLAKE2b-256 01db906acfeeb33d6b7d0aa05c73092743737dce4a93a02c2e7ab56c30226302

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.37.1.1-py2.py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 281659b2df884aca6d81e114fe7d034b1101745495d531a1c352fd18229f6d58
MD5 92b248ed665ee56191569746430c5812
BLAKE2b-256 b81d3e2b1500a2fc601854aba3e4121f2db18e1f6b772a2d457918b45eb4489a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.37.1.1-py2.py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 2247c2b219aa7564c03573a22100d9f4676ce78d8119bd06756784c3e8978996
MD5 221c55967f57fe40adee5e6447c2216d
BLAKE2b-256 8d44eae14b30b8a05e8f66f8365531ad8b486d82f17375e26ee5dcaa2f3a4de5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.37.1.1-py2.py3-none-macosx_26_0_x86_64.whl
Algorithm Hash digest
SHA256 59edc92bed3176452212280063d0b16d9320c1d0243c6f3eed06b2527d74ffbe
MD5 4035b230f47125f00668f599363a7aab
BLAKE2b-256 386d2ac2c4093681ab85b128313280d6bfe5dd43bac7f28be3001fdafbd8ceb3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.37.1.1-py2.py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 eab672c2945453789078c5ba9f49cdc9e8bab583f276ffa735a631b4eff4bd3c
MD5 b56956b981b8a7922d07f8e8854e4e70
BLAKE2b-256 883eade19c33b4509ba342e11368d68f731ee72bc8721cfe95cfb3339e68bbb0

See more details on using hashes here.

Provenance

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