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

Uploaded Python 2Python 3Windows x86-64

rtk_py-0.34.2.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.2.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.2.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.2.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.2.1.tar.gz.

File metadata

  • Download URL: rtk_py-0.34.2.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.2.1.tar.gz
Algorithm Hash digest
SHA256 644a55f37d6df1cac0ae66e2614e4dd0d224d95cbd7f9eba85e0215720512050
MD5 8b76a11f939f304f5b33ca8db31a0a77
BLAKE2b-256 e534dddf7513586a2e256456da3638bab1524c21dd0b606d1e74689ce731edb7

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: rtk_py-0.34.2.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.2.1-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 c418fc6958766485bbd1639a4f3f8b9fd6d9c59c8b67528ba384b76cb84ba103
MD5 cdaa6e5c0d90e1c272de02886359eee8
BLAKE2b-256 2afed51c0f9f0ca04e85173824872b58a32470b2bea64e72e86dee2396766d9e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.34.2.1-py2.py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 49edb9d3145dc11005a0b0e728e7a6edd7882724b05660e74b7fc86be1ffeae1
MD5 50c8a92d48980f913063df3da560d756
BLAKE2b-256 c92bf49bd51e39aaef8629454df86e9e4f611455b78b09cecd4daa00f5d18503

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.34.2.1-py2.py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 1f19dd641d583997771a740115a55934643680c7524a3f79df15712acb5fb5f1
MD5 5e393af756979d4cc76d121408ffd3d1
BLAKE2b-256 fc06bf6e3fb2b0c9c3c0b850636d7f5cd4fff6fe19afc38052009a6acff19b28

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.34.2.1-py2.py3-none-macosx_26_0_x86_64.whl
Algorithm Hash digest
SHA256 14783d37fed03fe73212c27ad02ae12a9687947f73d5147fe1bb1c098862b686
MD5 3d965d2b4c8997134a3156ca2b9ba394
BLAKE2b-256 a930bad18889cbbf997bf0a12ce2300f39123e833b8b06ce4f9b14f538c33c77

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.34.2.1-py2.py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 b622a5fce07ed0558b4304caa626a94124d0502c665e5020908624d1232caafe
MD5 b00c39816917d9773f3fb9c4623bba1b
BLAKE2b-256 955db99c5bf019d6a7d025c3835b4f2663ac893637b2ada4387a77720654fc43

See more details on using hashes here.

Provenance

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