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

Uploaded Python 2Python 3Windows x86-64

rtk_py-0.41.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.41.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.41.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.41.0.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.41.0.1.tar.gz.

File metadata

  • Download URL: rtk_py-0.41.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.41.0.1.tar.gz
Algorithm Hash digest
SHA256 b0cf8fb7cff852ac2f1bc71c6b593f5aab6b38ba4e0b3ec150844307b1c88f60
MD5 8084865442e2d1d061bd3236286692ff
BLAKE2b-256 17efafee5d83a0d102804f31e70869e0a9fefae8823a6bf73c3702d11b89db9a

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: rtk_py-0.41.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.41.0.1-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 a00e892cc2dceda901d6b373d6c046ec2e34e2fb0d60746160e9a87acf2acee1
MD5 c431f72597d6bd662e5e019aa01395a1
BLAKE2b-256 6141b19594461cf31036c64d804ef8d667667718dd13939fccb8ceed26a4dd54

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.41.0.1-py2.py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 ad4eda9df74c2d17692e5f9af3dbb8ad6394aefb1b14a283b5f64f3c9dffb535
MD5 c43d7d06eb6661f005c60e51e5c3b6c0
BLAKE2b-256 1a724c84d187f79ffb4659a518f952e67b0d41848815b261a8b44ae581b50df8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.41.0.1-py2.py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 46983bcb696c8fafcc1f8e4293a902e24e0de8ae79bf6af7321173caef5862c5
MD5 d08e3cf20fb05d951b61649a9a29bdfa
BLAKE2b-256 70f84cd6235d073a523823d5eb2447ddd448cc1fc7e203a807075754a030162a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.41.0.1-py2.py3-none-macosx_26_0_x86_64.whl
Algorithm Hash digest
SHA256 948a5e90483e7f906c8a898fd17793204cd0d6cd31322059188065e3ac7a1cd1
MD5 cda1bef9cb25c351c39c2842b5da628d
BLAKE2b-256 a8b91c0dbded1b2dfdf1d42cdfe89261d3b4ac30810116c92da03701a5237603

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.41.0.1-py2.py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 5aaa4aefcb2316a27d9fdeb333fdcc38ce86e03c2f0a02100492b72c222fb489
MD5 c3563dc86601dbc47dcd97e07acf105f
BLAKE2b-256 94aec0027cc8162add0caee5bf49844736b5001c96afbccc949858d2c9921b1b

See more details on using hashes here.

Provenance

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