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.34.3.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.34.3.1-py2.py3-none-win_amd64.whl (3.8 MB view details)

Uploaded Python 2Python 3Windows x86-64

rtk_py-0.34.3.1-py2.py3-none-manylinux_2_17_x86_64.whl (4.2 MB view details)

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

rtk_py-0.34.3.1-py2.py3-none-manylinux_2_17_aarch64.whl (3.8 MB view details)

Uploaded Python 2Python 3manylinux: glibc 2.17+ ARM64

rtk_py-0.34.3.1-py2.py3-none-macosx_26_0_x86_64.whl (3.9 MB view details)

Uploaded Python 2Python 3macOS 26.0+ x86-64

rtk_py-0.34.3.1-py2.py3-none-macosx_15_0_arm64.whl (3.5 MB view details)

Uploaded Python 2Python 3macOS 15.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for rtk_py-0.34.3.1.tar.gz
Algorithm Hash digest
SHA256 34b1d1a0bd083aa85f944151bf7703c8eb0310c9234a82867430b26ecb3f40cf
MD5 9f9749ca3c445279982245afc9c0b23d
BLAKE2b-256 e7ff67ee32d02e14c2cbbeffd2478c78619d2b837ba03ffeae47cd7f1072a1dc

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: rtk_py-0.34.3.1-py2.py3-none-win_amd64.whl
  • Upload date:
  • Size: 3.8 MB
  • Tags: Python 2, Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for rtk_py-0.34.3.1-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e54c7338c89d85d8e230a0c14e4ebbbe15987653da7531ec5778e13fbdc1b153
MD5 4df1924b9ff01e40d28dba0a43c3b9f7
BLAKE2b-256 72518e3a438362b72fb8c21671f7076a588ebf6bf702a0fd48e2bb3662002ffa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.34.3.1-py2.py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 e533af63b1e5fbfb9830c7a52f663325bd42d08c82f845e55400d47588abadb8
MD5 f330466f9e4a05965d3c75e0cab90d70
BLAKE2b-256 10d1677c9d74176f192248a4535e70442f410ac5cde19dbb35fda300fe85e416

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.34.3.1-py2.py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 3433d02daf89b2c198de27e1f0e7633b37873846beeeb8d9fbc4466dbe5f7931
MD5 b2e5d28670295c9c9b44e819b7faa19a
BLAKE2b-256 7658396902620c97e154ffd826437f89c125afe2ae225ef670ddbed7008bdc82

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.34.3.1-py2.py3-none-macosx_26_0_x86_64.whl
Algorithm Hash digest
SHA256 48d7944a68884bf39b5b397a878286539d6299978ee65b4fa57f193159ab95a3
MD5 2bfabbe990bffd6c350bb9fff43b76bb
BLAKE2b-256 881cfddc771211d665e4ee5303755dfcdb204ffd696e4a93fb9c0f224aa3189d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.34.3.1-py2.py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 5198750c8d78f8218fd87961d684a927d1f1526904222214e80f5e7e282624da
MD5 ed2cb78342437e87d081f65983be1697
BLAKE2b-256 7bf1ac8aea46c723920e57e7709104a37937657765974b6d3b4e3f44b185e5b6

See more details on using hashes here.

Provenance

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