python3-argcomplete – bash tab completion for argparse (for Python 3)

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 3.x.

Package availability chart
Distribution Base version Our version Architectures
Debian GNU/Linux 7.0 (wheezy)   1.0.0-1~nd70+1 i386, amd64, sparc, armel
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 (buster) 1.8.1-1    
Debian unstable (sid) 1.8.1-1 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 16.10 “Yakkety Yak” (yakkety) 0.8.1-1ubuntu2 1.0.0-1~nd90+1+nd16.10+1 i386, amd64, sparc
Ubuntu 17.04 “Zesty Zapus” (zesty) 1.7.0-0.1ubuntu1 1.0.0-1~nd90+1+nd17.04+1 i386, amd64, sparc, armel
Ubuntu 17.10 “Artful Aardvark” (artful) 1.8.1-1ubuntu1    

Comments

blog comments powered by Disqus