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.37.2.1.tar.gz (4.6 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.37.2.1-py2.py3-none-win_amd64.whl (3.9 MB view details)

Uploaded Python 2Python 3Windows x86-64

rtk_py-0.37.2.1-py2.py3-none-manylinux_2_17_x86_64.whl (4.3 MB view details)

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

rtk_py-0.37.2.1-py2.py3-none-manylinux_2_17_aarch64.whl (4.0 MB view details)

Uploaded Python 2Python 3manylinux: glibc 2.17+ ARM64

rtk_py-0.37.2.1-py2.py3-none-macosx_26_0_x86_64.whl (4.0 MB view details)

Uploaded Python 2Python 3macOS 26.0+ x86-64

rtk_py-0.37.2.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.37.2.1.tar.gz.

File metadata

  • Download URL: rtk_py-0.37.2.1.tar.gz
  • Upload date:
  • Size: 4.6 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.37.2.1.tar.gz
Algorithm Hash digest
SHA256 076605bc73841c26fd7168d13c68440413f1370d5f2f26f86520a9181b1f4d0c
MD5 fb83205fb675cf94c61a3a030f9e9ef2
BLAKE2b-256 be6e5eaf552840eff9237688dc0e8352a163fde94b62b86776017cdfba943e5e

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: rtk_py-0.37.2.1-py2.py3-none-win_amd64.whl
  • Upload date:
  • Size: 3.9 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.37.2.1-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e72afe94177d5ebfe7e707c9a2919d28e59c3255b2640502d28c4413d01981cc
MD5 6c0cc477c65dede02b836b3dd128e012
BLAKE2b-256 26ae594b5777090e9ede5100c4ebea4e45f47c3c6c453a84b28a8e4a7c15408f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.37.2.1-py2.py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 239cc8fe5c43885a80505f89fa4dc0ec726c926fa66c7c96729712c126a3e37f
MD5 9892c50da0b2ba65942e3b45764b1a32
BLAKE2b-256 4849045a37674214b4c79738d97a7a92ebb82e18974ef97d0f9ce30e448667b6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.37.2.1-py2.py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 3f3bf82a18eed24a2384817d48264111de840864d692dd6e704316e2eebd681c
MD5 7403d67e26c707989bf59b679104d8b0
BLAKE2b-256 48cbe30a507be0127d818447e5e147fa5275c7fd8b432e2dbc9b64770a97d83a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.37.2.1-py2.py3-none-macosx_26_0_x86_64.whl
Algorithm Hash digest
SHA256 1e542e0ae1c4b4e89398d52a18c208a99ccadc5067f9961b3ea88281c6cfa28a
MD5 f7b4895b2521d575d3ccf589c80d68b3
BLAKE2b-256 e4603ee4160fa800b520e4675b5e3f357bf3d63b15cf59b278a19b38d97b005b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.37.2.1-py2.py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 3b5236a43e49671990f0c1ea0bbac31b864fab4550449c384c1d2b1d1fda186d
MD5 93ed81982fa44b1f7a3026e64e43d04c
BLAKE2b-256 a23d2b704200d0c4f7ce6aaef66d332d35e9cf6216d7ffb505065dc8f991096a

See more details on using hashes here.

Provenance

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