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

Uploaded Python 2Python 3Windows x86-64

rtk_py-0.44.1.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.44.1.1-py2.py3-none-manylinux_2_17_aarch64.whl (4.2 MB view details)

Uploaded Python 2Python 3manylinux: glibc 2.17+ ARM64

rtk_py-0.44.1.1-py2.py3-none-macosx_26_0_x86_64.whl (4.2 MB view details)

Uploaded Python 2Python 3macOS 26.0+ x86-64

rtk_py-0.44.1.1-py2.py3-none-macosx_26_0_arm64.whl (3.8 MB view details)

Uploaded Python 2Python 3macOS 26.0+ ARM64

File details

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

File metadata

  • Download URL: rtk_py-0.44.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.14

File hashes

Hashes for rtk_py-0.44.1.1.tar.gz
Algorithm Hash digest
SHA256 39af068160ed912341edfcd8f4f33d48b3b56b9783176e9317a5f5ee52151dbc
MD5 d5b68fc9eee321e378213ba782ddbffb
BLAKE2b-256 c227112f0021624b321d988dbe5f45a7e3bf06a3ca08e5c942d5d3a23b2c9870

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: rtk_py-0.44.1.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.14

File hashes

Hashes for rtk_py-0.44.1.1-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 7938bcc4dd3370102ea0fdbb43202aa21774ead0e97dd41ce8e6d3d55b000489
MD5 1ac0834bde74d4327217b8ff32e99a7c
BLAKE2b-256 b67135892893f84111080b3658fd1470bddd725910cde295e8183c45b83ca0a6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.44.1.1-py2.py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 7edf7fe117bc83524cec7df5eab7ee4c6369ea7660c0d6cf792147051bd64728
MD5 a5073148798f1b0681f1301af8fcbaa1
BLAKE2b-256 66d1ccd277354bdaf294d5c2202175f3e4b95545d6e1bdd3f2a961e3d83d2d9e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.44.1.1-py2.py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 de8b819f58286143d18cc59eb5f7cabd87236e9b3ac97dca1dfabc6bddcd089a
MD5 860d253b3444022d524aaf0d5232024b
BLAKE2b-256 f8630c321dc565c0f375f48f7a32c379ea1737a3b3a143efb8d7b7415304941f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.44.1.1-py2.py3-none-macosx_26_0_x86_64.whl
Algorithm Hash digest
SHA256 e98b3ba201137d56417942a36195663ee1ca2ec06f4501e68d3eeea04cbcb714
MD5 10792b7d5f11c5ef40ebbd95fba148a3
BLAKE2b-256 1b1f83248f6e02c2ac0107cf354aa042cea95b4a22795b002dc48380550a6ddd

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtk_py-0.44.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.44.1.1-py2.py3-none-macosx_26_0_arm64.whl.

File metadata

File hashes

Hashes for rtk_py-0.44.1.1-py2.py3-none-macosx_26_0_arm64.whl
Algorithm Hash digest
SHA256 52aaf1bd29a2928cff59c690631dd36f8a663c89e65715b4d8eeea2a4af16edf
MD5 8d2b58f72c610a42029f4022c130a93c
BLAKE2b-256 af3eadba189461f65c66570d9b9681eb8218a0acf9e023f92c0e82584dea5d8b

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtk_py-0.44.1.1-py2.py3-none-macosx_26_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