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.28.2.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.28.2.1-py2.py3-none-win_amd64.whl (3.6 MB view details)

Uploaded Python 2Python 3Windows x86-64

rtk_py-0.28.2.1-py2.py3-none-manylinux_2_17_x86_64.whl (3.9 MB view details)

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

rtk_py-0.28.2.1-py2.py3-none-manylinux_2_17_aarch64.whl (3.6 MB view details)

Uploaded Python 2Python 3manylinux: glibc 2.17+ ARM64

rtk_py-0.28.2.1-py2.py3-none-macosx_26_0_x86_64.whl (3.6 MB view details)

Uploaded Python 2Python 3macOS 26.0+ x86-64

rtk_py-0.28.2.1-py2.py3-none-macosx_15_0_arm64.whl (3.3 MB view details)

Uploaded Python 2Python 3macOS 15.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for rtk_py-0.28.2.1.tar.gz
Algorithm Hash digest
SHA256 e0444d600f040f59c5a956927b71623f3e5ae27d58849fc6dfebc3df74221240
MD5 ee9fe09f7e7152fc3dda2a72176ecc75
BLAKE2b-256 ded98fedba3b1161bb016d5cc37589867117492844730ae387dda739ecd5f7da

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: rtk_py-0.28.2.1-py2.py3-none-win_amd64.whl
  • Upload date:
  • Size: 3.6 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.28.2.1-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e9fd1d68334971a8d6072de99e4f3471b98abc98b3031ac5cb2f5a7edffe7a27
MD5 949bbae6d2fc4804769f5465d5caa36f
BLAKE2b-256 dbe4b73ab8fedf9dcf020cf4409de9cc1a8a263dd782eb09b591428d3616b5e2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.28.2.1-py2.py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 f9f1648e56da54bb34ac3f9b5d5a9d6e50d68edf37dbdc1ff88ec63e19f11417
MD5 077faee466cef36fe79fd96d86a12c2e
BLAKE2b-256 31da1990cbab41060d13a60ab59d308b6970deddc636b79a1d58159795e37a94

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.28.2.1-py2.py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 e2f8e2d0b3a470981daf8caf90bb391eb54d59edff5258b62e801938ee5882d1
MD5 8617ae577a4e79128b56145d199c5a35
BLAKE2b-256 4fdc4c20718e66c5f8251aaefe531e5f8155a4d14a4010e20dd3f66836cda438

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.28.2.1-py2.py3-none-macosx_26_0_x86_64.whl
Algorithm Hash digest
SHA256 4bd1a4e15b88bfe019971ff5f3f5d18a622eabd65d9ad89960ceca920113abae
MD5 5d2a9683f9ce6a1ec51609268ed5a8fb
BLAKE2b-256 c91d5870dfdc7dc28395cc9b7404d4745bcbb20a5eea9df65818fdaa116b30af

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.28.2.1-py2.py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 dab000b3492f841c372a5e12622c3a1821fae26b7a7fa94fd277a46ae4a9b1e8
MD5 cc49614b66f4118b2d51e21d6bb29fee
BLAKE2b-256 2b49a5ecbb4f09c3924476516ee0f9421790f4b390979d4e2aa2012f2debb971

See more details on using hashes here.

Provenance

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