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

Uploaded Python 2Python 3Windows x86-64

rtk_py-0.42.2.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.2.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.2.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.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.42.2.1.tar.gz.

File metadata

  • Download URL: rtk_py-0.42.2.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.2.1.tar.gz
Algorithm Hash digest
SHA256 93aa0e43c4f42538c4c41b85585c1b0ac6fd9fb189d96b5cc5bac71a6e78ba17
MD5 0871747e84c1cc5003fae41be2ab533b
BLAKE2b-256 4111dc552e556726c4c2e0fe47f500606b7b78ab218607b024d6fd14c809e473

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: rtk_py-0.42.2.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.2.1-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 d969acf5067942d2b590350a6021f914a87e8caa6b6c00f484d9112da63f72f8
MD5 be9d070e916f45c16a23e6359fd5c979
BLAKE2b-256 dd582e86588d27afc25bc75721e1b2a5eaaea17b9114ae38fbd9f3c63e9c5181

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.42.2.1-py2.py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 bdb34b3276ba1ed03b94581fc648e2e8cda3bec1c927b0e0b758228db3678558
MD5 d5f8e3cdb3d0ee6af2a16b8e1c38715d
BLAKE2b-256 854b1e77a478075c8b04626e8e058ed64dcc479676b081c1005b845073cca23c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.42.2.1-py2.py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 5057b6ae648c03bf42f41b324ddf88b36db9f9802b74f1c0e95891e45f894f98
MD5 de47c0c42999d7e9b94064ccdcc7d9b1
BLAKE2b-256 73dac443ea6760fb42e47cfc0f2b6a100e4088ba0ed815e060ccbd753202d95d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.42.2.1-py2.py3-none-macosx_26_0_x86_64.whl
Algorithm Hash digest
SHA256 9fbf4888bb21d02ad79a4c654823ddfabed6ee9b72a7a729242b6a3be9bf6c37
MD5 5fe0e6ddc009e69128a1119c7dcbdbf4
BLAKE2b-256 2a7a4896d38240a4e9575177af3fea0f874deaf899b0a4fd9652843be33f0520

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.42.2.1-py2.py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 b54b7ebcf7ee01408eb648401d5667bd45a2a991bceaf18a50465d685e52ecc8
MD5 33b304576f7472dd9b767d67539d28b6
BLAKE2b-256 e0414ed5e3069448e3e1902863b2dec79ad8e7f81b985b86a0a76bc7ca306d6a

See more details on using hashes here.

Provenance

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