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

Uploaded Python 2Python 3Windows x86-64

rtk_py-0.40.0.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.40.0.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.40.0.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.40.0.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.40.0.1.tar.gz.

File metadata

  • Download URL: rtk_py-0.40.0.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.40.0.1.tar.gz
Algorithm Hash digest
SHA256 1daeb0525d033aa29a639bfe6814cd5c9dfcafcc2d86314fde8ebc71766690db
MD5 3aec19ca41ac2dade05d33fcf73eea6f
BLAKE2b-256 a3fafd88614e9e9d5c9f0512c436f18337d70b6357477a53dfde2f7463945de5

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: rtk_py-0.40.0.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.40.0.1-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 dfb31cec4ac331f78b1695ffdf212d9fdb33ef6baa0b766bebb332feef543b6c
MD5 1cc04e84b7038a9e04f79ba59e28ba46
BLAKE2b-256 0c0af030a3a2c4331d081eaee13c5ed772351e7eb034dd97909aab2086a5c87c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.40.0.1-py2.py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 e60a6c01d0737990f14f130513d68d2323c8e10d80b0956f21558c3ee89ee9e4
MD5 d13ec0816a45eebf3d3f99c3e216d410
BLAKE2b-256 3b7f7e8293a1cec9ac2f5eb53a64c1242eae2fcfe243d337eae508fb8e12219c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.40.0.1-py2.py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 37f3ad2493a94b4ffe38f8e7998342935f0d797fe96a1c74ef6b6cad1d1408f4
MD5 2c9f79a4cfb99a590393fe7ce411f28e
BLAKE2b-256 ada66880956623be6e1640f4d888020f48bc4278a7a7d1703cd2b612f1110a83

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.40.0.1-py2.py3-none-macosx_26_0_x86_64.whl
Algorithm Hash digest
SHA256 1f22c3c2df72ffc01a54d25d410453ede1cd8e737b9804c9ef9b3e86dde7b7f6
MD5 5ede6a627838ca0246be4959b57e710f
BLAKE2b-256 2e07f7f01e0e2fa76db43831c06ec8ebf5f1e4195f64b0fe3cfe8ef8d0b46072

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.40.0.1-py2.py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 09c73efd089f9ba2e6aa4e764098ca2178367cad0d74b2d7fa5b91bfaf1e51d0
MD5 bee508f3cc33e8402faf870c08bcc278
BLAKE2b-256 5c6aac0a1ecbb372d1c088b9205f11313e1e50335ae2675df54b9e4b3aa79ea9

See more details on using hashes here.

Provenance

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