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

Uploaded Python 2Python 3Windows x86-64

rtk_py-0.34.0.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.0.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.0.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.0.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.0.1.tar.gz.

File metadata

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

File hashes

Hashes for rtk_py-0.34.0.1.tar.gz
Algorithm Hash digest
SHA256 23e8a34be9018d220546685e74558d5cf98e1d7aa9f878f8c49a5974d591abe4
MD5 ab18527c29825053da0e98129468dd4c
BLAKE2b-256 6524e781607c3e2c62c3ccd5c36c1714e6c3335b5fe5291d87a0c1881f99b3cb

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: rtk_py-0.34.0.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.0.1-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 b4f16040e7871c7a4eb7dbb150cf30d22a9da77a0ab98e4ac6035677d0d63b20
MD5 0dc718eb662175b2f02b46eed9352f38
BLAKE2b-256 c55a990c1962f1b7ddd2348e61bb218a8c32ba6fae5b5625a56e1572554188c9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.34.0.1-py2.py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 dde305bb07e5ecb4f5ba5ab5bb7ea2fb0e1d79026075ec5ba87083b82de7991a
MD5 c11e7eb102c16c12058c1267a2e4ce77
BLAKE2b-256 c9817de2b6845b1f643a2cbe0b8739f03c5d1291b2a3faa59bd3d35b22b1d565

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.34.0.1-py2.py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 351745e3382c091117802281eea6430602191eeac780e1e44233f3dd39e949e0
MD5 16c511d28f9f1ab82e02a637d2684e77
BLAKE2b-256 669f3dab27c8f684557c9855b1d657ad8e8f1c055a6277b6b59ad87b56c15291

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.34.0.1-py2.py3-none-macosx_26_0_x86_64.whl
Algorithm Hash digest
SHA256 81170a25e7e59b7517e2f213057e5b6af3230c64c4b0265270332b0844fcdaf0
MD5 b108b6ce637630cdeda16eed5caed75f
BLAKE2b-256 5ce01fdd74ffeef65923d6580805cfb19156a00860c64c3c91d4abe9d6abf1d8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.34.0.1-py2.py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 8a649c30124fa090184a7c151e79766a8b83d8145d4315c47e73354744ad1632
MD5 7b9e9c5a7618ee4b1edafd304368b24d
BLAKE2b-256 0c11684040c8cae7c51140c9d8d4f5077f998b6bf0e2a4c50a1f4c4d4cfded22

See more details on using hashes here.

Provenance

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