Orbits  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
Classes | Functions | Variables
pip._vendor.distlib.resources Namespace Reference

Classes

class  ResourceCache
 
class  ResourceBase
 
class  Resource
 
class  ResourceContainer
 
class  ResourceFinder
 
class  ZipResourceFinder
 

Functions

def register_finder
 
def finder
 
def finder_for_path
 

Variables

tuple logger = logging.getLogger(__name__)
 
 cache = None
 
dictionary _finder_registry
 
dictionary _finder_cache = {}
 
tuple _dummy_module = types.ModuleType(str('__dummy__'))
 

Function Documentation

def pip._vendor.distlib.resources.finder (   package)
Return a resource finder for a package.
:param package: The name of the package.
:return: A :class:`ResourceFinder` instance for the package.
def pip._vendor.distlib.resources.finder_for_path (   path)
Return a resource finder for a path, which should represent a container.

:param path: The path.
:return: A :class:`ResourceFinder` instance for the path.
def pip._vendor.distlib.resources.register_finder (   loader,
  finder_maker 
)

Variable Documentation

tuple pip._vendor.distlib.resources._dummy_module = types.ModuleType(str('__dummy__'))
dictionary pip._vendor.distlib.resources._finder_cache = {}
dictionary pip._vendor.distlib.resources._finder_registry
Initial value:
1 = {
2  type(None): ResourceFinder,
3  zipimport.zipimporter: ZipResourceFinder
4 }
pip._vendor.distlib.resources.cache = None
tuple pip._vendor.distlib.resources.logger = logging.getLogger(__name__)

Copyright 2014 Google Inc. All rights reserved.