Automagic shell tab completion for Python CLI applications
JSON →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.
Traffic · last 30 days ↑200% vs prev 7d
total hits 16
actors 6 distinct systems
last hit 2d ago GPTBot
top countries 🇺🇸 United States · 🇮🇳 India · 🇩🇪 Germany · 🇫🇷 France · 🇨🇦 Canada
Resources
packagepypi.org/project/shtab/ ↗
API endpoints
full doc /v1/registry/shtab
install /v1/registry/shtab/install
compatibility /v1/registry/shtab/compatibility