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

Built distributions (wheels)

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

Total release size: 32.1 MB

Release files / rtk_py-1.0.0.1.tar.gz

Download URL rtk_py-1.0.0.1.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
cc74e783fa9cfa1d215126408cdbc68a69ec5fe57d23bde7d6c83472c630a09d
BLAKE2b-256 checksum
How to use checksums
de6f92f7fcadef180d1102660970bf430dba096b402885ac1ac721254d3fd840
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 14, 2026.

Transparency log

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

Download URL rtk_py-1.0.0.1-py2.py3-none-win_amd64.whl
Size 6.9 MB
Tags Python 2 Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
2569793fae876b490583a9f274e5f9ac09cda341793cd50dde99a253be37977b
BLAKE2b-256 checksum
How to use checksums
f614da35d3a854d397f800c90824f7253acdd78d3aa17f653a8644347ffa4ce3
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 14, 2026.

Transparency log

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

Download URL rtk_py-1.0.0.1-py2.py3-none-manylinux_2_17_x86_64.whl
Size 6.8 MB
Tags Linux glibc 2.17+ x86-64 Python 2 Python 3
SHA-256 checksum
How to use checksums
d2a4e67a9c0289a2b6c606bd24f159318f964d104bd9ec81b6724fc9742002d1
BLAKE2b-256 checksum
How to use checksums
4fd306f105e6527c7b98bcb51c0e1149f15ee0a711d7462941864a83a0d5b9f7
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 14, 2026.

Transparency log

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

Download URL rtk_py-1.0.0.1-py2.py3-none-manylinux_2_17_aarch64.whl
Size 6.2 MB
Tags Linux glibc 2.17+ ARM64 Python 2 Python 3
SHA-256 checksum
How to use checksums
024aadcb840bfef2af09969f8b898f65661aa17deed351bff03c1ea4e5576cb7
BLAKE2b-256 checksum
How to use checksums
aa21c20c1e6ba7e0066261e96002eeb253107eabd5d24c20e95282552f8055f1
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 14, 2026.

Transparency log

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

Download URL rtk_py-1.0.0.1-py2.py3-none-macosx_26_0_x86_64.whl
Size 6.4 MB
Tags Python 2 Python 3 macOS 26.0+ x86-64
SHA-256 checksum
How to use checksums
6070d51b20b930ad4c54068669556da5f89b88473405baf17427d0ebb593f533
BLAKE2b-256 checksum
How to use checksums
5d07424ca515a059e53527d9f2e043a42592b76b3930b35e43abf08ef286b10f
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 14, 2026.

Transparency log

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

Download URL rtk_py-1.0.0.1-py2.py3-none-macosx_26_0_arm64.whl
Size 5.9 MB
Tags Python 2 Python 3 macOS 26.0+ ARM64
SHA-256 checksum
How to use checksums
70bbc2714307172d7d4a1b349c385303f98b98aecd995a3e2a6f0abdab850ead
BLAKE2b-256 checksum
How to use checksums
cdd7c18b73e6ce1255f0a713572b8be0d1bcf06448ec0037f97628fffaad2866
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 14, 2026.

Transparency log

Security for rtk-py 1.0.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.0.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 14, 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.0.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