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

Uploaded Python 2Python 3Windows x86-64

rtk_py-0.34.1.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.1.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.1.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.1.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.1.1.tar.gz.

File metadata

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

File hashes

Hashes for rtk_py-0.34.1.1.tar.gz
Algorithm Hash digest
SHA256 0a1e54c72760cce124249fa1fb8590a6eb9c0a2dd29ce5eb810ca02ec5b198f6
MD5 a2eb90d7a3b0f8c91b53cd883bdc792d
BLAKE2b-256 f0bb4158a669ddb64991446e8c5c1142ac85d838ca848748a171fef04b4466fc

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: rtk_py-0.34.1.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.1.1-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 06f5d287e13659f815a4eaa2864d8e1ebb7f61cf96acd7712d1b8211f354f63d
MD5 d7092d828195406d986aa25ce0fe6edb
BLAKE2b-256 924a9cef563c246328ff443246033f8df4f44e731dc1bd9b645c2169758e959a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.34.1.1-py2.py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 61eb7669ba28ad86a63de1980bf44dd5c8cdcb9a3152a83f33c055c58b52714d
MD5 065ca81b4b631ee01c98495407e73e44
BLAKE2b-256 c5b0fd8ad2c7c3a27acb2d70893924391766c8eceae7676ed3ae93f436b61c47

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.34.1.1-py2.py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 49961cbf9fab9029fb67435d7bc9a9c0f576de1c7070430469c1970bffdcfd58
MD5 61ef5aa514a9c62a79fa9254913efb9c
BLAKE2b-256 da924992fcd1296bba1aff1e68e1f0b41bc3c74275dacd248d4a0a6ea913161b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.34.1.1-py2.py3-none-macosx_26_0_x86_64.whl
Algorithm Hash digest
SHA256 c368fc1ded9bd40de56f96ea0dc7c9c959bc5ba2e74800a5474c0886320eac25
MD5 8580d34be8f8caefb3c25361c0f6661a
BLAKE2b-256 3924e7265c6a8ead04ceefdf58da512ab98824b9dab65ed73adf9b48a92030d0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.34.1.1-py2.py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 d91aa44e7c5b7cb95bd6cda71e6746896f428ddb10d805225ab446b48080b17b
MD5 002440b15483a6f4b996a020d81b40c8
BLAKE2b-256 75f56b358b62254fed0c99c2518bf9237c20ac8d71756cefb0e4ed508fb2e296

See more details on using hashes here.

Provenance

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