python-argcomplete
« Back to VersTracker
Description:
Tab completion for Python argparse
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: python cli completion developer-tools argparse
Install: brew install python-argcomplete
About:
python-argcomplete provides intelligent tab completion for Python scripts that use the argparse module for command-line argument parsing. It intelligently inspects the shell environment and the script's argument structure to offer context-aware suggestions. This tool significantly enhances the user experience for CLI applications by reducing typing and minimizing errors.
Key Features:
  • Automatic discovery and completion for argparse-based scripts
  • Supports Bash, Zsh, and Fish shells
  • Easy activation with a single function call
  • Handles subcommands and complex argument types
Use Cases:
  • Adding tab completion to custom Python CLI tools
  • Improving usability for internal DevOps or system administration scripts
  • Enhancing developer productivity when working with complex command-line interfaces
Alternatives:
  • click – A higher-level CLI library with built-in completion, whereas argcomplete works with existing argparse implementations.
  • argparse-manpage – Focuses on generating manual pages from argparse, while argcomplete focuses on runtime shell completion.
Version History
Detected Version Rev Change Commit
Dec 31, 2024 8:06pm 0 VERSION_BUMP 0e72cc55
Dec 7, 2024 2:41am 0 VERSION_BUMP ab74f579
Oct 11, 2024 3:55pm 0 VERSION_BUMP 8d5422dd