Orbits  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
Public Member Functions | List of all members
pkg_resources.IMetadataProvider Class Reference
Inheritance diagram for pkg_resources.IMetadataProvider:
pkg_resources.IResourceProvider

Public Member Functions

def has_metadata
 
def get_metadata
 
def get_metadata_lines
 
def metadata_isdir
 
def metadata_listdir
 
def run_script
 

Member Function Documentation

def pkg_resources.IMetadataProvider.get_metadata (   name)
The named metadata resource as a string
def pkg_resources.IMetadataProvider.get_metadata_lines (   name)
Yield named metadata resource as list of non-blank non-comment lines

       Leading and trailing whitespace is stripped from each line, and lines
       with ``#`` as the first non-blank character are omitted.
def pkg_resources.IMetadataProvider.has_metadata (   name)
Does the package's distribution contain the named metadata?
def pkg_resources.IMetadataProvider.metadata_isdir (   name)
Is the named metadata a directory?  (like ``os.path.isdir()``)
def pkg_resources.IMetadataProvider.metadata_listdir (   name)
List of metadata names in the directory (like ``os.listdir()``)
def pkg_resources.IMetadataProvider.run_script (   script_name,
  namespace 
)
Execute the named script in the supplied namespace dictionary

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

Copyright 2014 Google Inc. All rights reserved.