Linux worldls-302.fr.planethoster.net 4.18.0-553.8.1.lve.el7h.x86_64 #1 SMP Thu Jul 4 15:19:33 UTC 2024 x86_64
LiteSpeed
Server IP : 10.185.0.203 & Your IP : 216.73.217.14
Domains :
Cant Read [ /etc/named.conf ]
User : gerathty
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python2.7 /
site-packages /
pip /
commands /
Delete
Unzip
Name
Size
Permission
Date
Action
__init__.py
2.09
KB
-rw-r--r--
2016-05-11 02:40
__init__.pyc
2.49
KB
-rw-r--r--
2016-11-21 19:44
__init__.pyo
2.49
KB
-rw-r--r--
2016-11-21 19:44
completion.py
1.92
KB
-rw-r--r--
2016-05-11 02:40
completion.pyc
2.43
KB
-rw-r--r--
2016-11-21 19:44
completion.pyo
2.43
KB
-rw-r--r--
2016-11-21 19:44
download.py
4.69
KB
-rw-r--r--
2016-05-11 02:40
download.pyc
4.16
KB
-rw-r--r--
2016-11-21 19:44
download.pyo
4.16
KB
-rw-r--r--
2016-11-21 19:44
freeze.py
2.71
KB
-rw-r--r--
2016-05-11 02:40
freeze.pyc
3.09
KB
-rw-r--r--
2016-11-21 19:44
freeze.pyo
3.09
KB
-rw-r--r--
2016-11-21 19:44
hash.py
1.56
KB
-rw-r--r--
2016-05-11 02:40
hash.pyc
2.35
KB
-rw-r--r--
2016-11-21 19:44
hash.pyo
2.35
KB
-rw-r--r--
2016-11-21 19:44
help.py
982
B
-rw-r--r--
2016-05-11 02:40
help.pyc
1.32
KB
-rw-r--r--
2016-11-21 19:44
help.pyo
1.32
KB
-rw-r--r--
2016-11-21 19:44
install.py
14.93
KB
-rw-r--r--
2016-11-21 19:44
install.pyc
9.97
KB
-rw-r--r--
2016-11-21 19:44
install.pyo
9.97
KB
-rw-r--r--
2016-11-21 19:44
list.py
7.24
KB
-rw-r--r--
2016-05-11 02:40
list.pyc
6.84
KB
-rw-r--r--
2016-11-21 19:44
list.pyo
6.84
KB
-rw-r--r--
2016-11-21 19:44
search.py
4.7
KB
-rw-r--r--
2016-05-11 02:40
search.pyc
5.07
KB
-rw-r--r--
2016-11-21 19:44
search.pyo
5.07
KB
-rw-r--r--
2016-11-21 19:44
show.py
5.68
KB
-rw-r--r--
2016-05-11 02:40
show.pyc
5.43
KB
-rw-r--r--
2016-11-21 19:44
show.pyo
5.43
KB
-rw-r--r--
2016-11-21 19:44
uninstall.py
2.82
KB
-rw-r--r--
2016-05-11 02:40
uninstall.pyc
2.97
KB
-rw-r--r--
2016-11-21 19:44
uninstall.pyo
2.97
KB
-rw-r--r--
2016-11-21 19:44
wheel.py
7.35
KB
-rw-r--r--
2016-05-11 02:40
wheel.pyc
6.12
KB
-rw-r--r--
2016-11-21 19:44
wheel.pyo
6.12
KB
-rw-r--r--
2016-11-21 19:44
Save
Rename
from __future__ import absolute_import import sys from pip.basecommand import Command BASE_COMPLETION = """ # pip %(shell)s completion start%(script)s# pip %(shell)s completion end """ COMPLETION_SCRIPTS = { 'bash': """ _pip_completion() { COMPREPLY=( $( COMP_WORDS="${COMP_WORDS[*]}" \\ COMP_CWORD=$COMP_CWORD \\ PIP_AUTO_COMPLETE=1 $1 ) ) } complete -o default -F _pip_completion pip """, 'zsh': """ function _pip_completion { local words cword read -Ac words read -cn cword reply=( $( COMP_WORDS="$words[*]" \\ COMP_CWORD=$(( cword-1 )) \\ PIP_AUTO_COMPLETE=1 $words[1] ) ) } compctl -K _pip_completion pip """} class CompletionCommand(Command): """A helper command to be used for command completion.""" name = 'completion' summary = 'A helper command used for command completion' def __init__(self, *args, **kw): super(CompletionCommand, self).__init__(*args, **kw) cmd_opts = self.cmd_opts cmd_opts.add_option( '--bash', '-b', action='store_const', const='bash', dest='shell', help='Emit completion code for bash') cmd_opts.add_option( '--zsh', '-z', action='store_const', const='zsh', dest='shell', help='Emit completion code for zsh') self.parser.insert_option_group(0, cmd_opts) def run(self, options, args): """Prints the completion code of the given shell""" shells = COMPLETION_SCRIPTS.keys() shell_options = ['--' + shell for shell in sorted(shells)] if options.shell in shells: script = COMPLETION_SCRIPTS.get(options.shell, '') print(BASE_COMPLETION % {'script': script, 'shell': options.shell}) else: sys.stderr.write( 'ERROR: You must pass %s\n' % ' or '.join(shell_options) )