python-optcomplete-1.2_devel-lp150.29.1.noarch.rpm


Advertisement

Description

python-optcomplete - Automatic Shell Completion Support for Scripts Using Optparse

Property Value
Distribution openSUSE Leap 15.0
Repository Network Utilities all
Package name python-optcomplete
Package version 1.2_devel
Package release lp150.29.1
Package architecture noarch
Package type rpm
Installed size 88.63 KB
Download size 29.18 KB
Official Mirror widehat.opensuse.org
This module provide automatic bash completion support for programs that use the
optparse module.  The premise is that the optparse options parser specifies
enough information (and more) for us to be able to generate completion strings
esily.  Another advantage of this over traditional completion schemes where the
completion strings are hard-coded in a separate bash source file, is that the
same code that parses the options is used to generate the completions, so the
completions is always up-to-date with the program itself.
In addition, we allow you specify a list of regular expressions or code that
define what kinds of files should be proposed as completions to this file if
needed.  If you want to implement more complex behaviour, you can instead
specify a function, which will be called with the current directory as an
argument.
You need to activate bash completion using the shell script function that comes
with optcomplete (see http://furius.ca/optcomplete for more details).

Alternatives

Package Version Architecture Repository
python-optcomplete-1.2_devel-lp150.1.3.noarch.rpm 1.2_devel noarch openSUSE Oss
python-optcomplete - - -

Requires

Name Value
python = 2.7
python(abi) = 2.7

Provides

Name Value
config(python-optcomplete) = 1.2_devel-lp150.29.1
python-optcomplete = 1.2_devel-lp150.29.1

Download

Type URL
Binary Package python-optcomplete-1.2_devel-lp150.29.1.noarch.rpm
Source Package python-optcomplete-1.2_devel-lp150.29.1.src.rpm

Install Howto

  1. Add the Network Utilities repository:
    # zypper addrepo http://widehat.opensuse.org/opensuse/repositories/network:/utilities/openSUSE_Leap_15.0/ network-utilities
  2. Install python-optcomplete rpm package:
    # zypper install python-optcomplete

Files

Path
/etc/bash_completion.d/optcomplete.sh
/usr/lib/python2.7/site-packages/optcomplete-1.2_devel-py2.7.egg-info
/usr/lib/python2.7/site-packages/optcomplete.py
/usr/lib/python2.7/site-packages/optcomplete.pyc
/usr/share/doc/packages/python-optcomplete/CHANGES
/usr/share/doc/packages/python-optcomplete/CREDITS
/usr/share/doc/packages/python-optcomplete/README
/usr/share/doc/packages/python-optcomplete/TODO
/usr/share/doc/packages/python-optcomplete/VERSION
/usr/share/doc/packages/python-optcomplete/conditional.html
/usr/share/doc/packages/python-optcomplete/conditional.txt
/usr/share/doc/packages/python-optcomplete/sample-output.html
/usr/share/doc/packages/python-optcomplete/sample-output.txt
/usr/share/doc/packages/python-optcomplete/bash_completion/bashrc
/usr/share/doc/packages/python-optcomplete/bash_completion/env
/usr/share/doc/packages/python-optcomplete/bash_completion/optcomplete.zsh
/usr/share/doc/packages/python-optcomplete/example/README
/usr/share/doc/packages/python-optcomplete/example/optcomplete-commands
/usr/share/doc/packages/python-optcomplete/example/optcomplete-conditional
/usr/share/doc/packages/python-optcomplete/example/optcomplete-simple
/usr/share/doc/packages/python-optcomplete/example/optparse-bisexual
/usr/share/doc/packages/python-optcomplete/example/optparse-commands
/usr/share/licenses/python-optcomplete/COPYING

Changelog

2017-07-21 - sebix+novell.com@sebix.at
- clean up spec file
- fix build in tumbleweed
2014-12-28 - Led <ledest@gmail.com>
- remove unneeded shebang in scripts
- add patches:
+ optcomplete-1.2-devel-fix-shebang.patch
2011-12-09 - coolo@suse.com
- fix license to be in spdx.org format
2010-03-24 - toms@suse.de
- Improved package and added bash completion code in
/etc/bash_completion.d/ and added examples and documentation
2010-03-24 - toms@suse.de
- Initial version 1.2_devel

See Also

Package Description
python2-ftputil-3.4-lp150.8.1.noarch.rpm High-level FTP client library (virtual file system and more) for Python
python2-gdata-2.0.18-lp150.53.1.noarch.rpm Python library to access data through Google Data APIs
python2-net-snmp-5.8-lp150.31.1.x86_64.rpm The Python 'netsnmp' module for the Net-SNMP
python2-oauth2-1.9.0.post1-lp150.12.1.noarch.rpm A fully tested, abstract interface to creating OAuth clients and servers
python2-pyinotify-0.9.6-lp150.38.1.noarch.rpm Python module for watching filesystems changes
python2-simplejson-3.16.1-lp150.76.1.x86_64.rpm Extensible JSON encoder/decoder for Python
python2-tweepy-3.6.0-lp150.19.1.noarch.rpm Twitter library for python
python2-youtube-dl-2018.11.18-lp150.221.1.noarch.rpm A python module for downloading from video sites for offline watching
python3-ftputil-3.4-lp150.8.1.noarch.rpm High-level FTP client library (virtual file system and more) for Python
python3-gdata-2.0.18-lp150.53.1.noarch.rpm Python library to access data through Google Data APIs
python3-net-snmp-5.8-lp150.31.1.x86_64.rpm The Python 3 'netsnmp' module for the Net-SNMP
python3-pyinotify-0.9.6-lp150.38.1.noarch.rpm Python module for watching filesystems changes
python3-simplejson-3.16.1-lp150.76.1.x86_64.rpm Extensible JSON encoder/decoder for Python
python3-tweepy-3.6.0-lp150.19.1.noarch.rpm Twitter library for python
python3-youtube-dl-2018.11.18-lp150.221.1.noarch.rpm A python module for downloading from video sites for offline watching
Advertisement
Advertisement