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.42.3.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.42.3.1-py2.py3-none-win_amd64.whl (4.0 MB view details)

Uploaded Python 2Python 3Windows x86-64

rtk_py-0.42.3.1-py2.py3-none-manylinux_2_17_x86_64.whl (4.4 MB view details)

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

rtk_py-0.42.3.1-py2.py3-none-manylinux_2_17_aarch64.whl (4.1 MB view details)

Uploaded Python 2Python 3manylinux: glibc 2.17+ ARM64

rtk_py-0.42.3.1-py2.py3-none-macosx_26_0_x86_64.whl (4.1 MB view details)

Uploaded Python 2Python 3macOS 26.0+ x86-64

rtk_py-0.42.3.1-py2.py3-none-macosx_15_0_arm64.whl (3.7 MB view details)

Uploaded Python 2Python 3macOS 15.0+ ARM64

File details

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

File metadata

  • Download URL: rtk_py-0.42.3.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.42.3.1.tar.gz
Algorithm Hash digest
SHA256 616984ed439e69fb06e15a645c53adf165d82c75f2d64ea513a95f615d66d588
MD5 0b2b1397ecd924771ecfd7d76266a59e
BLAKE2b-256 270cb61e3844ea9e3f643ca14cbcc310e7358ac18a8d3ab448b8b7be08849c11

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: rtk_py-0.42.3.1-py2.py3-none-win_amd64.whl
  • Upload date:
  • Size: 4.0 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.42.3.1-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 742130882afd02a3becee904f34145baf870ca838732e724036d310f5b05e476
MD5 1678b9fd2cf9fc9712deb343655da00a
BLAKE2b-256 c443fa38a5449e792db56286ac7062743265a4c4bb1326ff355a718c46523e2a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.42.3.1-py2.py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 8484ac6f772b63d5517bf932f44d2e37f49765ad05b4272fed7eb0c93cc56a05
MD5 e4b64fe2032653d652e79342cc8edff4
BLAKE2b-256 ff24ff165ac2e5d3fb64ad9a8896f67f694a243978322c397471927126281073

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.42.3.1-py2.py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 70b852f616940ca0f596deb833fb91cb07923bd8cdc0838308f96b5b51b1e416
MD5 3f24ef76338358d59d594215b42844e2
BLAKE2b-256 382a62e454a1ce8305a6e81674f215099d074d8a6c0736b3bcba2be02af12d97

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.42.3.1-py2.py3-none-macosx_26_0_x86_64.whl
Algorithm Hash digest
SHA256 6fe99e8b8badb31d0e10607cc6d4aa63c4d629e9a1bcc8d3855e9d4fae6f9cd9
MD5 de63742aa8352ced87be2cea9da9622c
BLAKE2b-256 ab81ae76895a75b0c8132a0e3ae036bcb4ef1a60de309e441f96a88f77e59da3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.42.3.1-py2.py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 f273248fa047d71e8e4af1c40561bd490399d85def26bdd7c237d7e0d0859f70
MD5 b5269e1dc7eb705547a105302ef4dfd2
BLAKE2b-256 c329c94c455314fadd3faa9ebabf403d2e27fb197a969822accf32c0509b5209

See more details on using hashes here.

Provenance

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