OpenQuizz
Une application de gestion des contenus pédagogiques
CacheCommand Class Reference
Inheritance diagram for CacheCommand:
Collaboration diagram for CacheCommand:

Public Member Functions

def add_options (self)
 
def run (self, options, args)
 
def get_cache_dir (self, options, args)
 
def get_cache_info (self, options, args)
 
def list_cache_items (self, options, args)
 
def format_for_human (self, files)
 
def format_for_abspath (self, files)
 
def remove_cache_items (self, options, args)
 
def purge_cache (self, options, args)
 
- Public Member Functions inherited from Command
def __init__ (self, name, summary, isolated=False)
 
def handle_pip_version_check (self, options)
 
def parse_args (self, args)
 
def main (self, args)
 
- Public Member Functions inherited from CommandContextMixIn
def __init__ (self)
 
def main_context (self)
 
def enter_context (self, context_provider)
 

Static Public Attributes

 ignore_require_venv
 
 usage
 
- Static Public Attributes inherited from Command
 usage
 
 ignore_require_venv
 

Additional Inherited Members

- Data Fields inherited from Command
 name
 
 summary
 
 parser
 
 tempdir_registry
 
 cmd_opts
 
 verbosity
 

Detailed Description

Inspect and manage pip's wheel cache.

Subcommands:

- dir: Show the cache directory.
- info: Show information about the cache.
- list: List filenames of packages stored in the cache.
- remove: Remove one or more package from the cache.
- purge: Remove all items from the cache.

``<pattern>`` can be a glob expression or a package name.

Member Function Documentation

◆ add_options()

def add_options (   self)

Reimplemented from Command.

◆ format_for_abspath()

def format_for_abspath (   self,
  files 
)

◆ format_for_human()

def format_for_human (   self,
  files 
)

◆ get_cache_dir()

def get_cache_dir (   self,
  options,
  args 
)

◆ get_cache_info()

def get_cache_info (   self,
  options,
  args 
)

◆ list_cache_items()

def list_cache_items (   self,
  options,
  args 
)

◆ purge_cache()

def purge_cache (   self,
  options,
  args 
)

◆ remove_cache_items()

def remove_cache_items (   self,
  options,
  args 
)

◆ run()

def run (   self,
  options,
  args 
)

Reimplemented from Command.

Field Documentation

◆ ignore_require_venv

ignore_require_venv
static

◆ usage

usage
static

The documentation for this class was generated from the following file: