Preparing for system design interviews?  Try bugzed.com →

Automagic shell tab completion for Python CLI applications

JSON →
library 1.8.0 ·python
verified Jun 30, 2026

shtab is a Python library that automatically generates shell tab completion scripts for command-line interface (CLI) applications. It processes an `argparse.ArgumentParser` object to produce completion scripts for `bash`, `zsh`, and `tcsh`. It aims for speed and correctness, avoiding the side-effects and performance issues of alternatives like `argcomplete` and `pyzshcomplete`. As of version 1.8.0, it is actively maintained by Iterative AI, with its development often driven by the needs of projects like DVC, but designed for general-purpose use.

total hits 16
actors 4 distinct systems
last hit 5d ago GPTBot
GPTBot
4
ByteDance
4
Script
1
Humans
4

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇰🇷 South Korea · TH