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.50.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.50.0.1
File Size Uploaded Provenance Actions
rtk_py-0.50.0.1.tar.gz 4.7 kB With provenance Details for rtk_py-0.50.0.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for rtk-py 0.50.0.1
File Actions
rtk_py-0.50.0.1-py2.py3-none-win_amd64.whl Python 3, Python 2 none Windows x86-64 Details for rtk_py-0.50.0.1-py2.py3-none-win_amd64.whl
rtk_py-0.50.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.50.0.1-py2.py3-none-manylinux_2_17_x86_64.whl
rtk_py-0.50.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.50.0.1-py2.py3-none-manylinux_2_17_aarch64.whl
rtk_py-0.50.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.50.0.1-py2.py3-none-macosx_26_0_x86_64.whl
rtk_py-0.50.0.1-py2.py3-none-macosx_26_0_arm64.whl Python 2, Python 3 none macOS 26.0+ ARM64 Details for rtk_py-0.50.0.1-py2.py3-none-macosx_26_0_arm64.whl

Total release size: 22.6 MB

Release files / rtk_py-0.50.0.1.tar.gz

Download URL rtk_py-0.50.0.1.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3f29ff3f02463f3d1e696b20cf02ff69459f83bf44038d6fad32a27f450e8f86
BLAKE2b-256 checksum
How to use checksums
bba6f7eb7af585355c927365e8d08fa489294b059aed0ff1d4bb666e9a723e83
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 Sep 24, 2026.

Transparency log

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

Download URL rtk_py-0.50.0.1-py2.py3-none-win_amd64.whl
Size 4.6 MB
Tags Python 2 Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
402d7e8ad87332355ab3603f20b44ec311b524a64e6709b8a59410df491daeef
BLAKE2b-256 checksum
How to use checksums
ab3cb73eb6d63111f9bfd43e4f298302a8fbe5868e874274e181e583db6dbfb2
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 Sep 24, 2026.

Transparency log

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

Download URL rtk_py-0.50.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
302c58c8d0fa1ecb8e8dc8de151151cc1d3264bb3361b0541cedc3f5ddf2eae1
BLAKE2b-256 checksum
How to use checksums
80292e6dd4756fc93f3c08cb20a135810b3c4d25e214b7ec5703baf50d88291f
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 Sep 24, 2026.

Transparency log

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

Download URL rtk_py-0.50.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
adcc5c4768ecb42ccb0e02993d9c03e07faadc65376024d2669aa42e26be9922
BLAKE2b-256 checksum
How to use checksums
daa09f2d585d9269e21009bac60a598410344ec0ee4ffbc31e6e67d29f33cfdf
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 Sep 24, 2026.

Transparency log

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

Download URL rtk_py-0.50.0.1-py2.py3-none-macosx_26_0_x86_64.whl
Size 4.5 MB
Tags Python 2 Python 3 macOS 26.0+ x86-64
SHA-256 checksum
How to use checksums
83c67ef5d1d1457cccd0d8a5207e964e9ab27ec44e79ba619566f2879b19ee73
BLAKE2b-256 checksum
How to use checksums
b0f88d83fcc41667f1060e1469d2ba32cbd26cd542e7e34d92d7fa9a323662f7
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 Sep 24, 2026.

Transparency log

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

Download URL rtk_py-0.50.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
a914dbaca3cec5cb6287f9e007789fb5b75af36f1016343ebd2e5e8e15e040a4
BLAKE2b-256 checksum
How to use checksums
bbce2ffa0e6c35d1de8a19abc12450ea7c714e18534ed63328136049eb69652b
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 Sep 24, 2026.

Transparency log

Security for rtk-py 0.50.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.50.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 Sep 24, 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.50.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