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.30.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.30.0.1-py2.py3-none-win_amd64.whl (3.7 MB view details)

Uploaded Python 2Python 3Windows x86-64

rtk_py-0.30.0.1-py2.py3-none-manylinux_2_17_x86_64.whl (4.1 MB view details)

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

rtk_py-0.30.0.1-py2.py3-none-manylinux_2_17_aarch64.whl (3.7 MB view details)

Uploaded Python 2Python 3manylinux: glibc 2.17+ ARM64

rtk_py-0.30.0.1-py2.py3-none-macosx_26_0_x86_64.whl (3.8 MB view details)

Uploaded Python 2Python 3macOS 26.0+ x86-64

rtk_py-0.30.0.1-py2.py3-none-macosx_15_0_arm64.whl (3.4 MB view details)

Uploaded Python 2Python 3macOS 15.0+ ARM64

File details

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

File metadata

  • Download URL: rtk_py-0.30.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.30.0.1.tar.gz
Algorithm Hash digest
SHA256 f777f5e8c84ccf1301f74ee520d7a9fbb210220b19690f1c1a0c69b6dd460ad2
MD5 707e879d15a0cf237413d254752e3e55
BLAKE2b-256 46b445261daa1c60c07e6afd2d69c4176c8b7cd2b4e255f8b43f1f0889ce25f2

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: rtk_py-0.30.0.1-py2.py3-none-win_amd64.whl
  • Upload date:
  • Size: 3.7 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.30.0.1-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 cb97303047430fad9725880677fb8f92d936a90035e8aa5fa8e7839e94eca3fa
MD5 af3c0cde99c2cc642ccd1b3e07a455af
BLAKE2b-256 cad361c3e1926c67f17840d8e9a26be138c3a83fa39c27cabbb1d58f8f6006a5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.30.0.1-py2.py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 1f1c64cdef43077a71c091fa5795daf49e344488723cc23a1e5f239549cea94b
MD5 668ca519bf6920b246d73f921e8d83d1
BLAKE2b-256 b3291d4f5759cd3e6d506b2d1693c8d5b6da7b946ecb3885ef8f71c55873362c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.30.0.1-py2.py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 c1e889c5fb7d60f363e769c3faf34876a667f1214c6e379985de8d106a37b8c6
MD5 451c91376d6d7d2abea2595f4478c03f
BLAKE2b-256 4d5bbaca21325f827640d97260f850c26b0dac7e944f5917e84663e07170898d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.30.0.1-py2.py3-none-macosx_26_0_x86_64.whl
Algorithm Hash digest
SHA256 01fba462df06155b59e48dc91b4b7c471a3c1f03c5e3aeaf94d105ab6c7679d1
MD5 20c374b44791b66dd9b50074d04339be
BLAKE2b-256 e6c3f1c8a60182dfa7f6632c0315da7e839ec1ee703280f8db2c6b2f89b282cb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.30.0.1-py2.py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 356de6509843a2f712baabd892a70c661ed7553f0f6cd416b5519569d2546c79
MD5 84ed6961c13beb4fbb6d0e943ab115b1
BLAKE2b-256 f8153faccabfabf9ed42f1a0e2d3aaa8e9de6eafe20b34fe0b515365ff78bbe1

See more details on using hashes here.

Provenance

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