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.44.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.44.2.1-py2.py3-none-win_amd64.whl (4.1 MB view details)

Uploaded Python 2Python 3Windows x86-64

rtk_py-0.44.2.1-py2.py3-none-manylinux_2_17_x86_64.whl (4.5 MB view details)

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

rtk_py-0.44.2.1-py2.py3-none-manylinux_2_17_aarch64.whl (4.2 MB view details)

Uploaded Python 2Python 3manylinux: glibc 2.17+ ARM64

rtk_py-0.44.2.1-py2.py3-none-macosx_26_0_x86_64.whl (4.2 MB view details)

Uploaded Python 2Python 3macOS 26.0+ x86-64

rtk_py-0.44.2.1-py2.py3-none-macosx_26_0_arm64.whl (3.8 MB view details)

Uploaded Python 2Python 3macOS 26.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for rtk_py-0.44.2.1.tar.gz
Algorithm Hash digest
SHA256 b7caa233cd8536bef28b1bfde6cce8c0092119999b8477f60a1a14f754730425
MD5 690065e98111a54fb548c125b5ffe9f2
BLAKE2b-256 b99c3d751004a465ab22205c7f89bd980a20c86abc9bfad30ee79a3acc58ed39

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for rtk_py-0.44.2.1-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 813b629314a04773356b4028b25875601751fdac7bf488f96462298f53c284bc
MD5 89db4b2ddb33252243f7cc4eb39f7314
BLAKE2b-256 29c7faf64e974e08f6187f7d5b4c75e5b29054974b7fe5485211a6067b53e7f0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.44.2.1-py2.py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 a23511951c8b87a4dba1fb6f066bc6b0dbaed808058ec7976d6b31548d8f0572
MD5 735bbbc79c168732b3ed4d9dad8d0439
BLAKE2b-256 c0cbd3006c18f2855a9cbc0cd2a06c29a3d31d857d0620c87b7856bde1c9576c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.44.2.1-py2.py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 dc8dc66862554ef30f69a6a8ecb0bccc0aed8e8f74a8ccceff4487f837e6cd2a
MD5 2a4bf3f6fa9b7c0040205a4fe56067fc
BLAKE2b-256 ee2aa8cc7cd8342c6b637121e3364c911da67b7e111cf0f5cd46432be69411ea

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.44.2.1-py2.py3-none-macosx_26_0_x86_64.whl
Algorithm Hash digest
SHA256 88e44baad213ae13b4e66d028f8c07dddf88f7ae415d4c728f12f72f6966363b
MD5 07e17a040dce3815db8e6f513d050a15
BLAKE2b-256 38d5730c71c4155ac5f5d1261ecc3fb7eded907021db4b071bf78fdb7d2103f5

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtk_py-0.44.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.44.2.1-py2.py3-none-macosx_26_0_arm64.whl.

File metadata

File hashes

Hashes for rtk_py-0.44.2.1-py2.py3-none-macosx_26_0_arm64.whl
Algorithm Hash digest
SHA256 b13017a3d846013ddbc6d1269d2da7fec788c5614be7e701a5e34144f76eac96
MD5 ff84e0262461ea5e7bae2fd9d2bcb497
BLAKE2b-256 be16367dd64be7c2420f81b3b94d8abd38d648972cf2d3de575b08a232ba3bcb

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtk_py-0.44.2.1-py2.py3-none-macosx_26_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