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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rtk_py-0.42.2.1.tar.gz.
File metadata
- Download URL: rtk_py-0.42.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.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93aa0e43c4f42538c4c41b85585c1b0ac6fd9fb189d96b5cc5bac71a6e78ba17
|
|
| MD5 |
0871747e84c1cc5003fae41be2ab533b
|
|
| BLAKE2b-256 |
4111dc552e556726c4c2e0fe47f500606b7b78ab218607b024d6fd14c809e473
|
Provenance
The following attestation bundles were made for rtk_py-0.42.2.1.tar.gz:
Publisher:
publish.yml on markjm/rtk-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rtk_py-0.42.2.1.tar.gz -
Subject digest:
93aa0e43c4f42538c4c41b85585c1b0ac6fd9fb189d96b5cc5bac71a6e78ba17 - Sigstore transparency entry: 1733505815
- Sigstore integration time:
-
Permalink:
markjm/rtk-py@e220fc8112113ffe26869563be0be154a298bc35 -
Branch / Tag:
refs/tags/v0.42.2.1 - Owner: https://github.com/markjm
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e220fc8112113ffe26869563be0be154a298bc35 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file rtk_py-0.42.2.1-py2.py3-none-win_amd64.whl.
File metadata
- Download URL: rtk_py-0.42.2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d969acf5067942d2b590350a6021f914a87e8caa6b6c00f484d9112da63f72f8
|
|
| MD5 |
be9d070e916f45c16a23e6359fd5c979
|
|
| BLAKE2b-256 |
dd582e86588d27afc25bc75721e1b2a5eaaea17b9114ae38fbd9f3c63e9c5181
|
Provenance
The following attestation bundles were made for rtk_py-0.42.2.1-py2.py3-none-win_amd64.whl:
Publisher:
publish.yml on markjm/rtk-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rtk_py-0.42.2.1-py2.py3-none-win_amd64.whl -
Subject digest:
d969acf5067942d2b590350a6021f914a87e8caa6b6c00f484d9112da63f72f8 - Sigstore transparency entry: 1733506217
- Sigstore integration time:
-
Permalink:
markjm/rtk-py@e220fc8112113ffe26869563be0be154a298bc35 -
Branch / Tag:
refs/tags/v0.42.2.1 - Owner: https://github.com/markjm
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e220fc8112113ffe26869563be0be154a298bc35 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file rtk_py-0.42.2.1-py2.py3-none-manylinux_2_17_x86_64.whl.
File metadata
- Download URL: rtk_py-0.42.2.1-py2.py3-none-manylinux_2_17_x86_64.whl
- Upload date:
- Size: 4.4 MB
- Tags: Python 2, Python 3, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bdb34b3276ba1ed03b94581fc648e2e8cda3bec1c927b0e0b758228db3678558
|
|
| MD5 |
d5f8e3cdb3d0ee6af2a16b8e1c38715d
|
|
| BLAKE2b-256 |
854b1e77a478075c8b04626e8e058ed64dcc479676b081c1005b845073cca23c
|
Provenance
The following attestation bundles were made for rtk_py-0.42.2.1-py2.py3-none-manylinux_2_17_x86_64.whl:
Publisher:
publish.yml on markjm/rtk-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rtk_py-0.42.2.1-py2.py3-none-manylinux_2_17_x86_64.whl -
Subject digest:
bdb34b3276ba1ed03b94581fc648e2e8cda3bec1c927b0e0b758228db3678558 - Sigstore transparency entry: 1733507148
- Sigstore integration time:
-
Permalink:
markjm/rtk-py@e220fc8112113ffe26869563be0be154a298bc35 -
Branch / Tag:
refs/tags/v0.42.2.1 - Owner: https://github.com/markjm
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e220fc8112113ffe26869563be0be154a298bc35 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file rtk_py-0.42.2.1-py2.py3-none-manylinux_2_17_aarch64.whl.
File metadata
- Download URL: rtk_py-0.42.2.1-py2.py3-none-manylinux_2_17_aarch64.whl
- Upload date:
- Size: 4.1 MB
- Tags: Python 2, Python 3, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5057b6ae648c03bf42f41b324ddf88b36db9f9802b74f1c0e95891e45f894f98
|
|
| MD5 |
de47c0c42999d7e9b94064ccdcc7d9b1
|
|
| BLAKE2b-256 |
73dac443ea6760fb42e47cfc0f2b6a100e4088ba0ed815e060ccbd753202d95d
|
Provenance
The following attestation bundles were made for rtk_py-0.42.2.1-py2.py3-none-manylinux_2_17_aarch64.whl:
Publisher:
publish.yml on markjm/rtk-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rtk_py-0.42.2.1-py2.py3-none-manylinux_2_17_aarch64.whl -
Subject digest:
5057b6ae648c03bf42f41b324ddf88b36db9f9802b74f1c0e95891e45f894f98 - Sigstore transparency entry: 1733507636
- Sigstore integration time:
-
Permalink:
markjm/rtk-py@e220fc8112113ffe26869563be0be154a298bc35 -
Branch / Tag:
refs/tags/v0.42.2.1 - Owner: https://github.com/markjm
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e220fc8112113ffe26869563be0be154a298bc35 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file rtk_py-0.42.2.1-py2.py3-none-macosx_26_0_x86_64.whl.
File metadata
- Download URL: rtk_py-0.42.2.1-py2.py3-none-macosx_26_0_x86_64.whl
- Upload date:
- Size: 4.1 MB
- Tags: Python 2, Python 3, macOS 26.0+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9fbf4888bb21d02ad79a4c654823ddfabed6ee9b72a7a729242b6a3be9bf6c37
|
|
| MD5 |
5fe0e6ddc009e69128a1119c7dcbdbf4
|
|
| BLAKE2b-256 |
2a7a4896d38240a4e9575177af3fea0f874deaf899b0a4fd9652843be33f0520
|
Provenance
The following attestation bundles were made for rtk_py-0.42.2.1-py2.py3-none-macosx_26_0_x86_64.whl:
Publisher:
publish.yml on markjm/rtk-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rtk_py-0.42.2.1-py2.py3-none-macosx_26_0_x86_64.whl -
Subject digest:
9fbf4888bb21d02ad79a4c654823ddfabed6ee9b72a7a729242b6a3be9bf6c37 - Sigstore transparency entry: 1733506619
- Sigstore integration time:
-
Permalink:
markjm/rtk-py@e220fc8112113ffe26869563be0be154a298bc35 -
Branch / Tag:
refs/tags/v0.42.2.1 - Owner: https://github.com/markjm
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e220fc8112113ffe26869563be0be154a298bc35 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file rtk_py-0.42.2.1-py2.py3-none-macosx_15_0_arm64.whl.
File metadata
- Download URL: rtk_py-0.42.2.1-py2.py3-none-macosx_15_0_arm64.whl
- Upload date:
- Size: 3.7 MB
- Tags: Python 2, Python 3, macOS 15.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b54b7ebcf7ee01408eb648401d5667bd45a2a991bceaf18a50465d685e52ecc8
|
|
| MD5 |
33b304576f7472dd9b767d67539d28b6
|
|
| BLAKE2b-256 |
e0414ed5e3069448e3e1902863b2dec79ad8e7f81b985b86a0a76bc7ca306d6a
|
Provenance
The following attestation bundles were made for rtk_py-0.42.2.1-py2.py3-none-macosx_15_0_arm64.whl:
Publisher:
publish.yml on markjm/rtk-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rtk_py-0.42.2.1-py2.py3-none-macosx_15_0_arm64.whl -
Subject digest:
b54b7ebcf7ee01408eb648401d5667bd45a2a991bceaf18a50465d685e52ecc8 - Sigstore transparency entry: 1733507984
- Sigstore integration time:
-
Permalink:
markjm/rtk-py@e220fc8112113ffe26869563be0be154a298bc35 -
Branch / Tag:
refs/tags/v0.42.2.1 - Owner: https://github.com/markjm
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e220fc8112113ffe26869563be0be154a298bc35 -
Trigger Event:
workflow_dispatch
-
Statement type: