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.36.0.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.36.0.1-py2.py3-none-win_amd64.whl (3.9 MB view details)

Uploaded Python 2Python 3Windows x86-64

rtk_py-0.36.0.1-py2.py3-none-manylinux_2_17_x86_64.whl (4.3 MB view details)

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

rtk_py-0.36.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.36.0.1-py2.py3-none-macosx_26_0_x86_64.whl (4.0 MB view details)

Uploaded Python 2Python 3macOS 26.0+ x86-64

rtk_py-0.36.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.36.0.1.tar.gz.

File metadata

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

File hashes

Hashes for rtk_py-0.36.0.1.tar.gz
Algorithm Hash digest
SHA256 9abfe4f84e78738b5a4bea35ccfbdbf8db427fb137cb0be409a631ec149c820e
MD5 bdc0b3859722d44e474de59a10d3c085
BLAKE2b-256 08a8a2ed3283146e1e611d9b547f251c221034016473fc6231e1641adfd0466d

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: rtk_py-0.36.0.1-py2.py3-none-win_amd64.whl
  • Upload date:
  • Size: 3.9 MB
  • Tags: Python 2, Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for rtk_py-0.36.0.1-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 bd4d5bc14d4185cfe7f3d2e2642c348fb6ad41e1d808aff9fa93c765f1f5fbf0
MD5 f5d8b9421cb69eb9828f22bdfd646e92
BLAKE2b-256 f862c3ac0557b82cc1fbc5c54ea1cad202cfe9ca5389e09cefc3028d6e1b3002

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.36.0.1-py2.py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 57f9ec128646863abff971fdcf1268ad2d32482961a187c66ca6f5a94249803e
MD5 a3342f1d707721c30369fdab86ea1b31
BLAKE2b-256 a335b9ef32145ad3eb5e433468beb9680f1778fea3f9d537ea870689952bf253

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.36.0.1-py2.py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 fc3c3d3d03714b14be0f809d78410052f9ffec7ac38a5654c25bdca53b5d5d67
MD5 525eb2d360226f1d18be1a1190cb0a16
BLAKE2b-256 3511eacd897b8fe1219c5f015cb328dd7ec7bbcb836e8802cc94d6c90ddf0168

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.36.0.1-py2.py3-none-macosx_26_0_x86_64.whl
Algorithm Hash digest
SHA256 cfa1c1d0becbbd7e98de959594774fe545c8bc525f43320d2c6277da12b047c5
MD5 b002cdb778eef98026435f9e92d456b9
BLAKE2b-256 6005c36881f9076be35328a4ef698645584ffe0100de329ea4205018caabfddb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.36.0.1-py2.py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 365a46e002d213521e96ebfeb4c62b8ed92253c23000bd5f50e24c79e87c1e0d
MD5 c9597f80284dbf9f769b8f3d240b195b
BLAKE2b-256 1dc0b3579fc30075255cb68f66fa975303e88bc44eb1edef3307a472884b6766

See more details on using hashes here.

Provenance

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