Skip to main content

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.

Metadata

Release files for rtk-py 0.51.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rtk-py 0.51.0.1
File Size Uploaded Provenance Actions
rtk_py-0.51.0.1.tar.gz 4.7 kB With provenance Details for rtk_py-0.51.0.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for rtk-py 0.51.0.1
File Actions
rtk_py-0.51.0.1-py2.py3-none-win_amd64.whl Python 3, Python 2 none Windows x86-64 Details for rtk_py-0.51.0.1-py2.py3-none-win_amd64.whl
rtk_py-0.51.0.1-py2.py3-none-manylinux_2_17_x86_64.whl Python 2, Python 3 none Linux glibc 2.17+ x86-64 Details for rtk_py-0.51.0.1-py2.py3-none-manylinux_2_17_x86_64.whl
rtk_py-0.51.0.1-py2.py3-none-manylinux_2_17_aarch64.whl Python 2, Python 3 none Linux glibc 2.17+ ARM64 Details for rtk_py-0.51.0.1-py2.py3-none-manylinux_2_17_aarch64.whl
rtk_py-0.51.0.1-py2.py3-none-macosx_26_0_x86_64.whl Python 2, Python 3 none macOS 26.0+ x86-64 Details for rtk_py-0.51.0.1-py2.py3-none-macosx_26_0_x86_64.whl
rtk_py-0.51.0.1-py2.py3-none-macosx_26_0_arm64.whl Python 3, Python 2 none macOS 26.0+ ARM64 Details for rtk_py-0.51.0.1-py2.py3-none-macosx_26_0_arm64.whl

Total release size: 22.9 MB

Release files / rtk_py-0.51.0.1.tar.gz

Download URL rtk_py-0.51.0.1.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5d8dff833b73626641b5dfe1737638526689ac2315a47705413e77ebe15e2f18
BLAKE2b-256 checksum
How to use checksums
b5a89b916e5e7089390c28289c0628fe63cd68d09b0dee1266386570249551e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

Release files / rtk_py-0.51.0.1-py2.py3-none-win_amd64.whl

Download URL rtk_py-0.51.0.1-py2.py3-none-win_amd64.whl
Size 4.7 MB
Tags Python 2 Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
f9f1e2ade9e8059bc3995014d623ae8b101358f01715a6fae464cc16230dbc5e
BLAKE2b-256 checksum
How to use checksums
433d479de726f55b043d58f95b992008dae19953c3855f3d14de2c985d198db3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

Release files / rtk_py-0.51.0.1-py2.py3-none-manylinux_2_17_x86_64.whl

Download URL rtk_py-0.51.0.1-py2.py3-none-manylinux_2_17_x86_64.whl
Size 4.9 MB
Tags Linux glibc 2.17+ x86-64 Python 2 Python 3
SHA-256 checksum
How to use checksums
d2b7e157de1dfd2698f2867c51ae8552b2d26701b8dba802e2e6d273c4f56a29
BLAKE2b-256 checksum
How to use checksums
fd18b51d22cfd339f1d476e11276abf25dc15d403363bb457ee90d93c3a06e19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

Release files / rtk_py-0.51.0.1-py2.py3-none-manylinux_2_17_aarch64.whl

Download URL rtk_py-0.51.0.1-py2.py3-none-manylinux_2_17_aarch64.whl
Size 4.5 MB
Tags Linux glibc 2.17+ ARM64 Python 2 Python 3
SHA-256 checksum
How to use checksums
0e8d3312cf0208d72a0f3e447558c0cc68175c86c3f943187c0c45ea626013c4
BLAKE2b-256 checksum
How to use checksums
c7d36364205b6aade1793d16e91a8807dc029ffa6064e0367798476034b757b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

Release files / rtk_py-0.51.0.1-py2.py3-none-macosx_26_0_x86_64.whl

Download URL rtk_py-0.51.0.1-py2.py3-none-macosx_26_0_x86_64.whl
Size 4.6 MB
Tags Python 2 Python 3 macOS 26.0+ x86-64
SHA-256 checksum
How to use checksums
75de7ba2f6e4166a54943eb2bc9c9bd5864b33f126a07d354f634d92efe4160f
BLAKE2b-256 checksum
How to use checksums
973fc4fe68b27a49b2db3aec69c4886203e64e2005466ed0d14dade198138bdb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

Release files / rtk_py-0.51.0.1-py2.py3-none-macosx_26_0_arm64.whl

Download URL rtk_py-0.51.0.1-py2.py3-none-macosx_26_0_arm64.whl
Size 4.1 MB
Tags Python 2 Python 3 macOS 26.0+ ARM64
SHA-256 checksum
How to use checksums
914c325b6cc03830c97e74ebff31b6d5795d595b52c2ea93f5672ae1920b6ece
BLAKE2b-256 checksum
How to use checksums
54e4df070788d6506407c42745a753cf4f73ab42854273048763bdd626f8386b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

Security for rtk-py 0.51.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for rtk_py-0.51.0.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.51.0.1 This release

6 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page