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
Sep 10, 2024 8:25pm 0 VERSION_BUMP 83baf8ca
Aug 6, 2024 6:19pm 0 VERSION_BUMP bfec1633
Apr 14, 2024 9:54pm 0 VERSION_BUMP cb1d17c5
Dec 10, 2023 10:58am 0 VERSION_BUMP 71fe90ca
Nov 19, 2023 12:48pm 0 VERSION_BUMP 2831d4ed
Oct 9, 2023 3:42pm 0 VERSION_BUMP d7483c1c