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.42.1.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.42.1.1-py2.py3-none-win_amd64.whl (4.0 MB view details)

Uploaded Python 2Python 3Windows x86-64

rtk_py-0.42.1.1-py2.py3-none-manylinux_2_17_x86_64.whl (4.4 MB view details)

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

rtk_py-0.42.1.1-py2.py3-none-manylinux_2_17_aarch64.whl (4.1 MB view details)

Uploaded Python 2Python 3manylinux: glibc 2.17+ ARM64

rtk_py-0.42.1.1-py2.py3-none-macosx_26_0_x86_64.whl (4.1 MB view details)

Uploaded Python 2Python 3macOS 26.0+ x86-64

rtk_py-0.42.1.1-py2.py3-none-macosx_15_0_arm64.whl (3.7 MB view details)

Uploaded Python 2Python 3macOS 15.0+ ARM64

File details

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

File metadata

  • Download URL: rtk_py-0.42.1.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.12

File hashes

Hashes for rtk_py-0.42.1.1.tar.gz
Algorithm Hash digest
SHA256 d85953e53a7a399a1ebf3b9872e5221f078e684c7aa74391b6fc20bcb13295e7
MD5 d134487735305b316ae6d93f0481b5c9
BLAKE2b-256 7c4e0aa075649aecaf00dabdab3d22253bfe8ca2646cd2c65b84d639a2cd3249

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtk_py-0.42.1.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.42.1.1-py2.py3-none-win_amd64.whl.

File metadata

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

File hashes

Hashes for rtk_py-0.42.1.1-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 f5ca6dd033b3145794f4e40d04b3f9a2b594fee1bdc3f60bb4d51aadc5774496
MD5 47724fdaedba02181e9a5e17e81a835e
BLAKE2b-256 b148473f2cd77e018b71de2de8c125afa5a5f74dc81af07427b392d4d13423ef

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtk_py-0.42.1.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.42.1.1-py2.py3-none-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for rtk_py-0.42.1.1-py2.py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 8a85faac4dfdf2badc8d4f16434ec04948a54fc820e70e2f4f7935c28fe3bb32
MD5 c310d4af75285e8e6eef49def3705f4c
BLAKE2b-256 1dcf80a661f8ed6d2fbfab8ca46c23060bc23f0b694d4fba9a0aaae0a02ff95e

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtk_py-0.42.1.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.42.1.1-py2.py3-none-manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for rtk_py-0.42.1.1-py2.py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 dee6c7359b44926971605d8db97169721a72787d6cc038e86b33b9e8f679c5f2
MD5 8e67ba63f1c5be21ce4a47db1d96711e
BLAKE2b-256 e12a3fc937abbeb9b567d810bfc5656c5f5187d0f921bf2dd469fb82e879bc8a

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtk_py-0.42.1.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.42.1.1-py2.py3-none-macosx_26_0_x86_64.whl.

File metadata

File hashes

Hashes for rtk_py-0.42.1.1-py2.py3-none-macosx_26_0_x86_64.whl
Algorithm Hash digest
SHA256 dd21b4b5cf465fdd314cbef9a5358b01cf128d13e43ead125e4219757cbe0206
MD5 342c0bb0abe8d082c0226bec0c3711a2
BLAKE2b-256 566e1e0179c838d55995356a4e5b2fd338b99c34982c3b13ca67a58ca448e5d3

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtk_py-0.42.1.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.42.1.1-py2.py3-none-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for rtk_py-0.42.1.1-py2.py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 ca93e23e29c2b246781f43859d20fe6c9da77578614cd8e28fef5cb16e78e8c3
MD5 617b6d506afdffa3170554526c3cde3b
BLAKE2b-256 52c7a477e7d30a48184a9284666392cd38774806c4fa4ecaf75ee6002482f5dd

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtk_py-0.42.1.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