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.33.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.33.1.1-py2.py3-none-win_amd64.whl (3.8 MB view details)

Uploaded Python 2Python 3Windows x86-64

rtk_py-0.33.1.1-py2.py3-none-manylinux_2_17_x86_64.whl (4.2 MB view details)

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

rtk_py-0.33.1.1-py2.py3-none-manylinux_2_17_aarch64.whl (3.8 MB view details)

Uploaded Python 2Python 3manylinux: glibc 2.17+ ARM64

rtk_py-0.33.1.1-py2.py3-none-macosx_26_0_x86_64.whl (3.9 MB view details)

Uploaded Python 2Python 3macOS 26.0+ x86-64

rtk_py-0.33.1.1-py2.py3-none-macosx_15_0_arm64.whl (3.5 MB view details)

Uploaded Python 2Python 3macOS 15.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for rtk_py-0.33.1.1.tar.gz
Algorithm Hash digest
SHA256 5b544ef69cd64d7a307d849f7916c365ef8a83ff234e7e3df335f1524ef5e62a
MD5 6894358f2f93de46b55c62d661d29925
BLAKE2b-256 2c74edcf06beab47ec299ae08fdd8edb14b15dc5aa848b8e8e2366bb57e4ad11

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for rtk_py-0.33.1.1-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e6c45ba6fa20fbc7127ba6278db7e95e015592adc3437026b2510f28750f98c5
MD5 c4526863b867af9a655279972321c66b
BLAKE2b-256 c2e462e7b783f89af75a1ff6511faa46949dd9cf29bed644f198e91534122ad6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.33.1.1-py2.py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 902820152760045b663c1f795cfeb296fe705f081c8a8c649c4bc03cee97981b
MD5 e4921e78f3fb328d7e8cae139e22efd0
BLAKE2b-256 ca6a9d0e1c1a134304744b25564c16b55875129c911fdb018ea99958aa753a43

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.33.1.1-py2.py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 017732987904e8a7210c1db861dd87a0dc4e43935b2347f1d41175a87109e3f2
MD5 c837cd3077e5ba845c9c2d612dfa8bb6
BLAKE2b-256 0d64406a0bc472ea1930d314a294ebf79f3fdfa10bbbe488d91f54b6802306d3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.33.1.1-py2.py3-none-macosx_26_0_x86_64.whl
Algorithm Hash digest
SHA256 4573ad9e5ccc7ab18e3d1f71e4e8cf9fb56da840f2b760ef257c03f579375f27
MD5 02fe370e8aee34d52369f775359d7f9d
BLAKE2b-256 94ed0f9c94482d62e1479ccf7029f475cfd9443cffd0a6cbc5ca718dacb5e945

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.33.1.1-py2.py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 d09ee4673f667d7490968be2e2b454f712a1e8eb2f218a55b994b9e053de3382
MD5 6a571edd75d23c06bbc765731df18a69
BLAKE2b-256 85275fc8e71bb0b16e3f30ae27d51b6c1a698df5bd7947254a125f5b0d5d9190

See more details on using hashes here.

Provenance

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