/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/commands
NameSizeModeActions
completion.py19670644editdlrm
completion.pyc25840644editdlrm
download.py48040644editdlrm
download.pyc44490644editdlrm
freeze.py27740644editdlrm
freeze.pyc32570644editdlrm
hash.py15970644editdlrm
hash.pyc25650644editdlrm
help.py9820644editdlrm
help.pyc14180644editdlrm
install.py149710644editdlrm
install.pyc102790644editdlrm
list.py74120644editdlrm
list.pyc73800644editdlrm
search.py47770644editdlrm
search.pyc54590644editdlrm
show.py58150644editdlrm
show.pyc58960644editdlrm
uninstall.py28840644editdlrm
uninstall.pyc31830644editdlrm
wheel.py75280644editdlrm
wheel.pyc64780644editdlrm
__init__.py21450644editdlrm
__init__.pyc26590644editdlrm
Edit: /usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/commands/search.pyc (5459B)
Ņō ĨWc@@sddklZddkZddkZddkZddklZlZddkl Z ddk l Z ddk l Z ddklZddklZdd klZdd klZdd klZeieƒZd efd „ƒYZd„Zddd„Zd„ZdS(i(tabsolute_importN(tCommandtSUCCESS(tPipXmlrpcTransport(tPyPI(tget_terminal_size(t indent_log(t CommandError(tNO_MATCHES_FOUND(t pkg_resources(t xmlrpc_clientt SearchCommandcB@s;eZdZdZdZdZd„Zd„Zd„ZRS(s@Search for PyPI packages whose name or summary contains .tsearchs %prog [options] sSearch PyPI for packages.c O@s^tt|ƒi||Ž|iiddddddtiddƒ|iid |iƒdS( Ns--indextdesttindextmetavartURLtdefaultthelps3Base URL of Python Package Index (default %default)i( tsuperR t__init__tcmd_optst add_optionRtpypi_urltparsertinsert_option_group(tselftargstkw((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/commands/search.pyRs  cC@s‚|ptdƒ‚n|}|i||ƒ}t|ƒ}d}tiiƒotƒd}nt|d|ƒ|ot St S(Ns)Missing required argument (search query).itterminal_width( RR ttransform_hitstNonetsyststdouttisattyRt print_resultsRR(RtoptionsRtqueryt pypi_hitsthitsR((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/commands/search.pytrun's c C@s~|i}|i|ƒiiƒ}zR|~}t||ƒ}ti||ƒ}|ih|d6|d6dƒ}|SWdQXdS(Ntnametsummarytor(Rt_build_sessiont__exit__t __enter__RR t ServerProxyR ( RR%R$t index_urlt_[1]tsessiont transporttpypiR'((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/commands/search.pyR 7s  & ( t__name__t __module__t__doc__R)tusageR*RR(R (((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/commands/search.pyR s cC@s h}xŨ|D]Õ}|d}|d}|d}|d}|d jo d}n||iƒjo-h|d6|d6|gd6|d6||bstreverseN(Rtkeystappendthighest_versiontsortedtvaluestTrue(R'tpackagesthitR)R*R9R<t package_list((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/commands/search.pyR@s0          cC@sū|pdS|djoVtg}|D]4}|t|dƒt|iddgƒdƒq'~ƒd}ng}tiD]}||iq}~}xa|D]Y}|d}|dpd} |iddgƒd} |dj o9ti| ||dƒ} d d |d i | ƒ} nd |d || f| f} yĻt i | ƒ||joˆti |ƒ} t ƒiiƒz^t|dƒ} | i| jot i d| iƒn$t i d| iƒt i d| ƒWdQXnWqtj oqXqWdS(NR)R;t-i˙˙˙˙iR*tis t is %-*s - %ss%s (%s)sINSTALLED: %s (latest)s INSTALLED: %ss LATEST: %s(RtmaxtlentgetR t working_sett project_namettextwraptwraptjointloggertinfotget_distributionRR-R.RCR9tUnicodeEncodeError(R'tname_column_widthRR1RHt_[2]tptinstalled_packagesR)R*R9tlinetdisttlatest((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/commands/search.pyR#hs@ A '    cC@s%ttt|dtidtƒƒƒS(NR=R@(tnexttiterRDR t parse_versionRF(R;((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/commands/search.pyRCs( t __future__RtloggingR RRtpip.basecommandRRt pip.downloadRt pip.modelsRt pip.utilsRtpip.utils.loggingRtpip.exceptionsRtpip.status_codesRt pip._vendorR tpip._vendor.six.movesR t getLoggerR5RUR RRR#RC(((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/commands/search.pyts"   + ('