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

Built distributions (wheels)

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

Total release size: 33.0 MB

Release files / rtk_py-1.2.0.1.tar.gz

Download URL rtk_py-1.2.0.1.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7171addf1c090862f59d4cb1be4002783fa35abf1a14715a77eb7c263a7553b5
BLAKE2b-256 checksum
How to use checksums
df18f8dc111e0d6792a5e59f8c13a07519d16828903af0ee78d4515e980fc3a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 8, 2026.

Transparency log

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

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

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 Nov 8, 2026.

Transparency log

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

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

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 Nov 8, 2026.

Transparency log

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

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

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 Nov 8, 2026.

Transparency log

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

Download URL rtk_py-1.2.0.1-py2.py3-none-macosx_26_0_x86_64.whl
Size 6.5 MB
Tags Python 2 Python 3 macOS 26.0+ x86-64
SHA-256 checksum
How to use checksums
7b41db40eb6fbac8a437774040124254c608c02c42af35264eb97c0f3906d99a
BLAKE2b-256 checksum
How to use checksums
29974d1d20f8aadffdfaf42e6c5f414bd00140306b867bd027d0ef4a53263cf4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 8, 2026.

Transparency log

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

Download URL rtk_py-1.2.0.1-py2.py3-none-macosx_26_0_arm64.whl
Size 6.0 MB
Tags Python 2 Python 3 macOS 26.0+ ARM64
SHA-256 checksum
How to use checksums
08f06a066847a02d7a1026f53f935e3d2fd5e633098196a5b269c444a2b2b3a7
BLAKE2b-256 checksum
How to use checksums
02b4b40ea3135ef817b30b11d2e93305a2fe158e6105943b9d7552d7531de309
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 8, 2026.

Transparency log

Security for rtk-py 1.2.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-1.2.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 Nov 8, 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

1.2.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