Current Path: > > lib > python2.7 > site-packages > > pip > commands
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
__init__.py | File | 2244 bytes | April 21 2022 18:08:21. | |
__init__.pyc | File | 2636 bytes | April 21 2022 18:08:35. | |
__init__.pyo | File | 2636 bytes | April 21 2022 18:08:35. | |
check.py | File | 1382 bytes | April 21 2022 18:08:21. | |
check.pyc | File | 1599 bytes | April 21 2022 18:08:35. | |
check.pyo | File | 1599 bytes | April 21 2022 18:08:35. | |
completion.py | File | 2453 bytes | April 21 2022 18:08:21. | |
completion.pyc | File | 2894 bytes | April 21 2022 18:08:35. | |
completion.pyo | File | 2894 bytes | April 21 2022 18:08:35. | |
download.py | File | 7810 bytes | April 21 2022 18:08:21. | |
download.pyc | File | 6173 bytes | April 21 2022 18:08:35. | |
download.pyo | File | 6173 bytes | April 21 2022 18:08:35. | |
freeze.py | File | 2835 bytes | April 21 2022 18:08:21. | |
freeze.pyc | File | 3193 bytes | April 21 2022 18:08:35. | |
freeze.pyo | File | 3193 bytes | April 21 2022 18:08:35. | |
hash.py | File | 1597 bytes | April 21 2022 18:08:21. | |
hash.pyc | File | 2403 bytes | April 21 2022 18:08:35. | |
hash.pyo | File | 2403 bytes | April 21 2022 18:08:35. | |
help.py | File | 982 bytes | April 21 2022 18:08:21. | |
help.pyc | File | 1352 bytes | April 21 2022 18:08:35. | |
help.pyo | File | 1352 bytes | April 21 2022 18:08:35. | |
install.py | File | 18289 bytes | April 21 2022 18:08:21. | |
install.pyc | File | 12098 bytes | April 21 2022 18:08:35. | |
install.pyo | File | 12098 bytes | April 21 2022 18:08:35. | |
list.py | File | 11369 bytes | April 21 2022 18:08:21. | |
list.pyc | File | 11139 bytes | April 21 2022 18:08:35. | |
list.pyo | File | 11094 bytes | April 21 2022 18:08:36. | |
search.py | File | 4502 bytes | April 21 2022 18:08:21. | |
search.pyc | File | 4955 bytes | April 21 2022 18:08:35. | |
search.pyo | File | 4955 bytes | April 21 2022 18:08:35. | |
show.py | File | 5891 bytes | April 21 2022 18:08:21. | |
show.pyc | File | 5747 bytes | April 21 2022 18:08:35. | |
show.pyo | File | 5747 bytes | April 21 2022 18:08:35. | |
uninstall.py | File | 2884 bytes | April 21 2022 18:08:21. | |
uninstall.pyc | File | 3039 bytes | April 21 2022 18:08:35. | |
uninstall.pyo | File | 3039 bytes | April 21 2022 18:08:35. | |
wheel.py | File | 7729 bytes | April 21 2022 18:08:21. | |
wheel.pyc | File | 6366 bytes | April 21 2022 18:08:35. | |
wheel.pyo | File | 6366 bytes | April 21 2022 18:08:35. |
from __future__ import absolute_import import sys import pip from pip.compat import stdlib_pkgs from pip.basecommand import Command from pip.operations.freeze import freeze from pip.wheel import WheelCache DEV_PKGS = ('pip', 'setuptools', 'distribute', 'wheel') class FreezeCommand(Command): """ Output installed packages in requirements format. packages are listed in a case-insensitive sorted order. """ name = 'freeze' usage = """ %prog [options]""" summary = 'Output installed packages in requirements format.' log_streams = ("ext://sys.stderr", "ext://sys.stderr") def __init__(self, *args, **kw): super(FreezeCommand, self).__init__(*args, **kw) self.cmd_opts.add_option( '-r', '--requirement', dest='requirements', action='append', default=[], metavar='file', help="Use the order in the given requirements file and its " "comments when generating output. This option can be " "used multiple times.") self.cmd_opts.add_option( '-f', '--find-links', dest='find_links', action='append', default=[], metavar='URL', help='URL for finding packages, which will be added to the ' 'output.') self.cmd_opts.add_option( '-l', '--local', dest='local', action='store_true', default=False, help='If in a virtualenv that has global access, do not output ' 'globally-installed packages.') self.cmd_opts.add_option( '--user', dest='user', action='store_true', default=False, help='Only output packages installed in user-site.') self.cmd_opts.add_option( '--all', dest='freeze_all', action='store_true', help='Do not skip these packages in the output:' ' %s' % ', '.join(DEV_PKGS)) self.parser.insert_option_group(0, self.cmd_opts) def run(self, options, args): format_control = pip.index.FormatControl(set(), set()) wheel_cache = WheelCache(options.cache_dir, format_control) skip = set(stdlib_pkgs) if not options.freeze_all: skip.update(DEV_PKGS) freeze_kwargs = dict( requirement=options.requirements, find_links=options.find_links, local_only=options.local, user_only=options.user, skip_regex=options.skip_requirements_regex, isolated=options.isolated_mode, wheel_cache=wheel_cache, skip=skip) for line in freeze(**freeze_kwargs): sys.stdout.write(line + '\n')
SILENT KILLER Tool