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

Uploaded Python 2Python 3Windows x86-64

rtk_py-0.35.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.35.0.1-py2.py3-none-manylinux_2_17_aarch64.whl (3.9 MB view details)

Uploaded Python 2Python 3manylinux: glibc 2.17+ ARM64

rtk_py-0.35.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.35.0.1-py2.py3-none-macosx_15_0_arm64.whl (3.6 MB view details)

Uploaded Python 2Python 3macOS 15.0+ ARM64

File details

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

File metadata

  • Download URL: rtk_py-0.35.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.35.0.1.tar.gz
Algorithm Hash digest
SHA256 f861a5d4586bbe39f47b4a0b575022613c1fd89ecd3ba987d90a986d9e07d2d9
MD5 b7b6057254edd12f7bfd940670d9a84d
BLAKE2b-256 8fdf4f11f5949a611aa2f4665b4a6ac20df1f2df9641e133e9bdacfe0fac4cc2

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: rtk_py-0.35.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.35.0.1-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e1ca26a35fa34475054845bbcd3c923807edb63fe725e35459b2e469b5bfb776
MD5 45680ba44d40f4527764c91d7fa9fe6b
BLAKE2b-256 47c9c1925f978d37e9367cd8423c14ef4574f4ae984836acbb61fe3aa34eedd0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.35.0.1-py2.py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 30edcb3d489ad98a974161918887062327307b833898dcdad3aaec53e844d2fb
MD5 db71ef520c1d15249688f351cfcf8f75
BLAKE2b-256 29a02cdc9a48e7e94caf858e70ee17a1f3d508e720893f1faebbf5866c184e24

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.35.0.1-py2.py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 7c5a6a0fc46ae1f507d91e0c1c554d85bcdba96aa8a868bff9d2c56ac6fef1b6
MD5 32af5b0d0684c9ed395a9716aa204e6c
BLAKE2b-256 c8ccbf796fabd103b33714158b590985b5ff6f45bbdcd2a2e243b8cbbab7e724

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.35.0.1-py2.py3-none-macosx_26_0_x86_64.whl
Algorithm Hash digest
SHA256 3ee9873aabc51bc57e0568488abdfd82217dea7875961c5c96e955756fb54fe2
MD5 e752800f80ffda7d3380ad98ab418253
BLAKE2b-256 3b11b73140067eff2d1757eb8e1024c8d2c47cbfeb4be12b87372aee4489d526

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.35.0.1-py2.py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 d007dfc6431326ead087846336d884fd66100853997362cda2819898d79cdfb6
MD5 62386e1f439a2ba86c7f447fe08cc01b
BLAKE2b-256 48f27d02a25bbebf04402b3e90a182d69433fe558e80dcf950f625d48055f93d

See more details on using hashes here.

Provenance

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