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

Uploaded Python 2Python 3Windows x86-64

rtk_py-0.39.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.39.0.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.39.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.39.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.39.0.1.tar.gz.

File metadata

  • Download URL: rtk_py-0.39.0.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.39.0.1.tar.gz
Algorithm Hash digest
SHA256 29849364e98d8da42c5f9877970cd9ede3ad1622978bea1d9648a860ef86cae5
MD5 4276a28f81ed8de2fd6a67382d6c0882
BLAKE2b-256 60cb1dd87d69a6af120cda77d2b31b3fc42e63f1db5a1260d84558bb5b5871cf

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: rtk_py-0.39.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.39.0.1-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 88dc592f9f7b08a85915eaedfde9426ca500ea06bec6b0e0b27d8225b9ae1bc5
MD5 8fe218a94cdb261a282215bd824e389c
BLAKE2b-256 5136cb86983dec6c1467d501b93dcc0e60873ba3cb1cbc4e6e69de4eae86dfb8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.39.0.1-py2.py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 ac16379f9d40aa687e10e26aad2b86beaf201671c2662b19274d4174cc80879f
MD5 3c7a5e3e3d006a4da92b5c65a627a378
BLAKE2b-256 131e5de5c74515fc9c0b9e1ea15a06a1357f420041e793e7e31886f00ae2eed9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.39.0.1-py2.py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 e0a2646aee22e1427e15336dbcab50ae52a2271d65dd9a7aab2e18e5e70e16c7
MD5 25cb086b71fc6eb32958d5eb36d5c322
BLAKE2b-256 f94637d99169b3a1103532cf53ff9ee52f487804cb669a679101ca04c4c5b834

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.39.0.1-py2.py3-none-macosx_26_0_x86_64.whl
Algorithm Hash digest
SHA256 e73fee05ce2f3434cb6057c37be34b4c5b7ccedc699b1704f86b827a4c9ef431
MD5 991366f2a00f09ec0fa3bb7cafdc0b4f
BLAKE2b-256 d8ec010d2b582d3417d9dd319881d6f02c88760590c96aef11b1cb5e399884db

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rtk_py-0.39.0.1-py2.py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 ac552d8731c5fa041be838ce0470f918380e959dc26f3e36d466766292f491a5
MD5 911fc331bed1348b0108272984ab1f09
BLAKE2b-256 a1fecd24d353e48745b335ce5640eba09b116f032a13db08da7394a68f0ce818

See more details on using hashes here.

Provenance

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