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.47.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.47.0.1
File Size Uploaded Provenance Actions
rtk_py-0.47.0.1.tar.gz 4.7 kB With provenance Details for rtk_py-0.47.0.1.tar.gz

Built distributions (wheels)

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

Total release size: 21.3 MB

Release files / rtk_py-0.47.0.1.tar.gz

Download URL rtk_py-0.47.0.1.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
cbf94212936a6055311fc41fa771120f6904437a3d47948c25fe57aceacfe627
BLAKE2b-256 checksum
How to use checksums
550375b99f9d2ce4dea94b6d66249c5a17ad887e49e9ac4cc8f8a6fbf66d2dbb
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 2, 2026.

Transparency log

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

Download URL rtk_py-0.47.0.1-py2.py3-none-win_amd64.whl
Size 4.4 MB
Tags Python 2 Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
ebf63ecc8be2eabb57c23edeeacc457a1f587bddb1112c830a1e56e387259511
BLAKE2b-256 checksum
How to use checksums
e801c92e915a70fb8f4d108fee974f5ebf9dbb22a66031602af57dffba843a5e
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 2, 2026.

Transparency log

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

Download URL rtk_py-0.47.0.1-py2.py3-none-manylinux_2_17_x86_64.whl
Size 4.6 MB
Tags Linux glibc 2.17+ x86-64 Python 2 Python 3
SHA-256 checksum
How to use checksums
6e19000608cd6cef435de3e6b865755f16505a55e74e7e90f5f6ef31b27375a1
BLAKE2b-256 checksum
How to use checksums
b36ecfe8ba2c1787d02fe466d9d410280f840059cdf79df08983449d665837d0
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 2, 2026.

Transparency log

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

Download URL rtk_py-0.47.0.1-py2.py3-none-manylinux_2_17_aarch64.whl
Size 4.2 MB
Tags Linux glibc 2.17+ ARM64 Python 2 Python 3
SHA-256 checksum
How to use checksums
bf91a55d8519a26c0188cdf0e44872c6eb03b4fbb59b3ad1bcf1562315b557e4
BLAKE2b-256 checksum
How to use checksums
e680d5b9fdf494fc39ff8607bfe264e9ae916cd5bd069e27c074ad90c7f2c90f
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 2, 2026.

Transparency log

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

Download URL rtk_py-0.47.0.1-py2.py3-none-macosx_26_0_x86_64.whl
Size 4.2 MB
Tags Python 2 Python 3 macOS 26.0+ x86-64
SHA-256 checksum
How to use checksums
6bf51c5269794668b1715134221a8192a87b915e030d3a8eba3cbb17c1591c92
BLAKE2b-256 checksum
How to use checksums
3519006120b648d3af4d796fcb3e9ace122939b30c58eb0e737a079877813185
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 2, 2026.

Transparency log

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

Download URL rtk_py-0.47.0.1-py2.py3-none-macosx_26_0_arm64.whl
Size 3.9 MB
Tags Python 2 Python 3 macOS 26.0+ ARM64
SHA-256 checksum
How to use checksums
b092d074a724d4e10a322e9e61b0d23b21298bfb16eab111a1a644b804f92d45
BLAKE2b-256 checksum
How to use checksums
fc54ae3c5e7114376406805f1fe5c1d5dba528997af4c322578a155d0ccaa42f
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 2, 2026.

Transparency log

Security for rtk-py 0.47.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.47.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 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.47.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