Skip to content

Feature request: add rtk rewrite for python3 #285

Closed as duplicate
Closed as duplicate

Description

@oysi2025

Context

rtk discover --all shows python3 as an unhandled command:

  • 75 invocations in the last 30 days
  • Typical usage: pip index queries, running scripts, compile checks, module invocations

Request

Add an RTK rewrite/filter for python3 output. Tracebacks, pip version listings, and script output can be very verbose.

Example commands

python3 -m pip index versions fastapi
python3 -m py_compile app/main.py
python3 -c "from app.models import Base; print(len(Base.metadata.tables))"
python3 -m pytest tests/

Found via rtk discover --all.

Activity

  1. added
    enhancement
    on Mar 12, 2026
  2. added
    effort-medium
    on Mar 20, 2026
  3. pszymkowiak commented on Mar 20, 2026

    @pszymkowiak
    Collaborator

    wshm · Automated triage by AI

    🔍 Automated Triage

    ✨ Category feature
    🟡 Priority medium
    🎯 Confidence 91%

    Summary

    Request to add RTK rewrite/filter for python3 command output (tracebacks, pip listings, script output); 75 invocations in 30 days via rtk discover --all.


    Triaged automatically by wshm · This is an automated analysis, not a human review.

  4. KuSh commented on Sep 13, 2026

    @KuSh
    Collaborator

    Closing as a duplicate of #928, which tracks the same request - rewrite and filter support for direct python/python3 invocations covering script, -m module and heredoc forms - and has the fullest breakdown and reproduction. The specifics raised here (usage counts, summarisation threshold, venv and absolute-path interpreters) are worth adding as a comment there so they are not lost. Please continue the discussion on #928.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:clieffort-mediumenhancementhelp wantedpriority:medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions