python-argcomplete – bash tab completion for argparse

Argcomplete provides easy, extensible command line tab completion of arguments for your Python script.

It makes two assumptions:

  • You’re using bash as your shell
  • You’re using argparse to manage your command line arguments/options

Argcomplete is particularly useful if your program has lots of options or subparsers, and if your program can dynamically suggest completions for your argument/option values (for example, if the user is browsing resources over the network).

This package provides the module for Python 2.x.

Package availability chart
Distribution Base version Our version Architectures
Debian GNU/Linux 10.0 (buster) 1.8.1-1    
Debian GNU/Linux 8.0 (jessie) 0.8.1-1 1.0.0-1~nd80+1 i386, amd64, sparc, armel
Debian GNU/Linux 9.0 (stretch) 1.8.1-1 1.0.0-1~nd90+1 i386, amd64, sparc, armel
Debian testing (bullseye) 1.8.1-1.3    
Debian unstable (sid) 1.8.1-1.3 1.0.0-1~nd+1 i386, amd64, sparc, armel
Ubuntu 14.04 “Trusty Tahr” (trusty) 0.6.9-1 1.0.0-1~nd14.04+1 i386, amd64, sparc
Ubuntu 16.04 “Xenial Xerus” (xenial) 0.8.1-1ubuntu2 1.0.0-1~nd+1+nd16.04+1 i386, amd64, sparc
Ubuntu 18.04 “Bionic Beaver” (bionic) 1.8.1-1ubuntu1    
Ubuntu 19.04 “Disco Dingo” (disco) 1.8.1-1ubuntu1    
Ubuntu 20.04 “Focal Fossa” (focal) 1.8.1-1.3ubuntu1    

Comments

blog comments powered by Disqus