Skip to main content

Python wrapper around invoking rtk (https://github.com/rtk-ai/rtk)

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rtk_py-0.31.0.1.tar.gz (4.7 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

rtk_py-0.31.0.1-py2.py3-none-win_amd64.whl (3.7 MB view details)

Uploaded Python 2Python 3Windows x86-64

rtk_py-0.31.0.1-py2.py3-none-manylinux_2_17_x86_64.whl (4.1 MB view details)

Uploaded Python 2Python 3manylinux: glibc 2.17+ x86-64

rtk_py-0.31.0.1-py2.py3-none-manylinux_2_17_aarch64.whl (3.8 MB view details)

Uploaded Python 2Python 3manylinux: glibc 2.17+ ARM64

rtk_py-0.31.0.1-py2.py3-none-macosx_26_0_x86_64.whl (3.8 MB view details)

Uploaded Python 2Python 3macOS 26.0+ x86-64

rtk_py-0.31.0.1-py2.py3-none-macosx_15_0_arm64.whl (3.4 MB view details)

Uploaded Python 2Python 3macOS 15.0+ ARM64

File details

Details for the file rtk_py-0.31.0.1.tar.gz.

File metadata

  • Download URL: rtk_py-0.31.0.1.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for rtk_py-0.31.0.1.tar.gz
Algorithm Hash digest
SHA256 8d2f52d5241b7790ce7e9446a6e4e7c27c252935901b51599397cda6c2a6b9fa
MD5 cbbf01765f9f2c9913f43cb658d16fe0
BLAKE2b-256 844c78399566b72afb93c796f88e436e94001cd6d7857b3b99bfb46c2a48654f

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtk_py-0.31.0.1.tar.gz:

Publisher: publish.yml on markjm/rtk-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rtk_py-0.31.0.1-py2.py3-none-win_amd64.whl.

File metadata

  • Download URL: rtk_py-0.31.0.1-py2.py3-none-win_amd64.whl
  • Upload date:
  • Size: 3.7 MB
  • Tags: Python 2, Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for rtk_py-0.31.0.1-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 46ff4a5c9c8d04137fd46a2e445c2572cb362b413f32ab3d6bbe67fd6208bf7b
MD5 e27eed41644e7f9955799d3ba6e724f7
BLAKE2b-256 662346a13dd4ec185147cadff40fb5c1c3eb57530ad77e3bf4f692ef4c54e1cd

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtk_py-0.31.0.1-py2.py3-none-win_amd64.whl:

Publisher: publish.yml on markjm/rtk-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rtk_py-0.31.0.1-py2.py3-none-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for rtk_py-0.31.0.1-py2.py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 447f6be687290a798124991c42028201e2f6cb94d093d087d9ba6234517d00ea
MD5 2e8e25ec7f901e5b3dfc45e386b90f8c
BLAKE2b-256 aa625b957a3ddd11aed09b31f8bafbec579f9e0bacb820fe74d531dbea3de9b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtk_py-0.31.0.1-py2.py3-none-manylinux_2_17_x86_64.whl:

Publisher: publish.yml on markjm/rtk-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rtk_py-0.31.0.1-py2.py3-none-manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for rtk_py-0.31.0.1-py2.py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 1a2666c561f83e2b684102f72db6f47ca89cbeb9c4d676c9fffb22177669b34e
MD5 14797c2f383756f408b007cf6c190435
BLAKE2b-256 d21a86cb79f1cb7a39a4caa4c9e851f552ff0c9aabd442918eca236c93f87f4c

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtk_py-0.31.0.1-py2.py3-none-manylinux_2_17_aarch64.whl:

Publisher: publish.yml on markjm/rtk-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rtk_py-0.31.0.1-py2.py3-none-macosx_26_0_x86_64.whl.

File metadata

File hashes

Hashes for rtk_py-0.31.0.1-py2.py3-none-macosx_26_0_x86_64.whl
Algorithm Hash digest
SHA256 6160217dff0e73a0c9b009d0d8d85fb780ccd95ed5601afbe3c9e4a36244652e
MD5 ab7cf263d78f3eebf0c343a820d427fd
BLAKE2b-256 87e23f1afd74d8f3ec0e4153b67fc3b22069a0d225467f530d999e8cca3b1f9c

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtk_py-0.31.0.1-py2.py3-none-macosx_26_0_x86_64.whl:

Publisher: publish.yml on markjm/rtk-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rtk_py-0.31.0.1-py2.py3-none-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for rtk_py-0.31.0.1-py2.py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 fcbea9b49837da656bc3c0da531293938479980c92ccd5c3e088ff3d3676f511
MD5 b7f9f775b58beb1136dd92a4aedddafe
BLAKE2b-256 3de7faae03a1e1fb2f93cd169a376958c3a39c525c015a5eda52c864329ecef0

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtk_py-0.31.0.1-py2.py3-none-macosx_15_0_arm64.whl:

Publisher: publish.yml on markjm/rtk-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page