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.48.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.48.0.1
File Size Uploaded Provenance Actions
rtk_py-0.48.0.1.tar.gz 4.7 kB With provenance Details for rtk_py-0.48.0.1.tar.gz

Built distributions (wheels)

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

Total release size: 21.5 MB

Release files / rtk_py-0.48.0.1.tar.gz

Download URL rtk_py-0.48.0.1.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
182341157a36572bbd1c5381a56afb5ba061d8213bed26b96238354a042fef2a
BLAKE2b-256 checksum
How to use checksums
70a1143fa97ddbc50a6e96a1a046308fb64d9c94cb8b01dc5f143f78aec8f5c1
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 4, 2026.

Transparency log

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

Download URL rtk_py-0.48.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
11db08efa2daa1f1a103a28da0cb7feb01a2a59dbbaeaf67a7f0ad3ab3038150
BLAKE2b-256 checksum
How to use checksums
196485f582f36137c975e655d7f45adbb153e6cc6273201941b4cb7c9d1cc1f1
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 4, 2026.

Transparency log

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

Download URL rtk_py-0.48.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
4a6321708f90e6b49e4a7dd30d68d99a068c8732bda3ec3fd0f63353d042256f
BLAKE2b-256 checksum
How to use checksums
311b57fdd2cdfd2bd62cc0bb3de1b7b57264f3b23428c77f51ab5299b37b808a
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 4, 2026.

Transparency log

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

Download URL rtk_py-0.48.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
a1d523c8269afd461e738ef70759c3162bce1c1c3078b3f57161c55f7e444778
BLAKE2b-256 checksum
How to use checksums
088f488bae0f9252fa813afb2132eed002dff8f05970b7aef6c2409cb182acc2
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 4, 2026.

Transparency log

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

Download URL rtk_py-0.48.0.1-py2.py3-none-macosx_26_0_x86_64.whl
Size 4.3 MB
Tags Python 2 Python 3 macOS 26.0+ x86-64
SHA-256 checksum
How to use checksums
165da420d3cdd42ffd81135237ef5f5a3ba1e983565d41bed3070b02087249a4
BLAKE2b-256 checksum
How to use checksums
5af0911907546a7eb5aa5246ecf402f764887025bff0a94dd090669d0c266062
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 4, 2026.

Transparency log

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

Download URL rtk_py-0.48.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
58135b5128c1bb01b5fa9f5e5aa62d76f3bac3745887770487eb62b411ea62e2
BLAKE2b-256 checksum
How to use checksums
2afe0a18742fab6180e67b0713dfd63f57d53433de3e44661e8ded683084ab31
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 4, 2026.

Transparency log

Security for rtk-py 0.48.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.48.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 4, 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.48.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