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

Uploaded Python 2Python 3Windows x86-64

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

File metadata

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

File hashes

Hashes for rtk_py-0.44.0.1.tar.gz
Algorithm Hash digest
SHA256 85f792f895f30c2171819138e6a65d456e57149d1af4b23810bd091f1a836c9c
MD5 ef9937874edece1b8bb78520095ad1f9
BLAKE2b-256 4eb2972dde2cf391c8e672a7aae25105fafeab9a02e03ba5ac17a2a80bf1107f

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: rtk_py-0.44.0.1-py2.py3-none-win_amd64.whl
  • Upload date:
  • Size: 4.2 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.0.1-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 feac652efeb5a2f2b2d3222a9443a850756d476e404d226f3004f4ee2ab08562
MD5 d614e691ecafb0b8430185e472592eb1
BLAKE2b-256 6011eb9a21388be70f8883550586207959807c282c650da50942c95e629a3f65

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.44.0.1-py2.py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 99da4eba2f57649626de9451372677f0bb176c5d1b77e02355805330e35dc1f1
MD5 5afe63f102f3e2001942fb3097019c7a
BLAKE2b-256 d69b58d690f32138dda76c459135605aa64cdf729f7c3ad81402baaf2a3075e9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.44.0.1-py2.py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 dba689796a55656b2607243010d28dd9b4dbf7cf9a323bcb2cca5e2df4624a39
MD5 eb4c112ac76082d50c8968382f6c4787
BLAKE2b-256 6c097e80b355e26ebf556ed6e3340dc0d43d41ba45e492f8cc75fcfcc2e5c05b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.44.0.1-py2.py3-none-macosx_26_0_x86_64.whl
Algorithm Hash digest
SHA256 d709a357ad21171b0bc5967c9613db9cda678ede1b1dec23e8f525cb7c3c1971
MD5 864ef2f49b7b2f294fdddc262c52c490
BLAKE2b-256 e93174b1a1fad6db230231fdf55ccdc52db9296ec71c483b9829376339a5255a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.44.0.1-py2.py3-none-macosx_26_0_arm64.whl
Algorithm Hash digest
SHA256 92d60df527ca5147616f3180754f3ee4894810822ee649cc6d0267aa7e58d7a8
MD5 0a1e89fc1fb7af983295c1b08599883d
BLAKE2b-256 029d149003094ab21f4741a72738dc5694517fe48ff33f907c20a643c5ffea8e

See more details on using hashes here.

Provenance

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