Orbits
1
|
Public Member Functions | |
def | get_resource_filename |
def | get_resource_stream |
def | get_resource_string |
def | has_resource |
def | resource_isdir |
def | resource_listdir |
Public Member Functions inherited from pkg_resources.IMetadataProvider | |
def | has_metadata |
def | get_metadata |
def | get_metadata_lines |
def | metadata_isdir |
def | metadata_listdir |
def | run_script |
An object that provides access to package resources
def pkg_resources.IResourceProvider.get_resource_filename | ( | manager, | |
resource_name | |||
) |
An object that provides access to package resources
Return a true filesystem path for `resource_name` `manager` must be an ``IResourceManager``
def pkg_resources.IResourceProvider.get_resource_stream | ( | manager, | |
resource_name | |||
) |
Return a readable file-like object for `resource_name` `manager` must be an ``IResourceManager``
def pkg_resources.IResourceProvider.get_resource_string | ( | manager, | |
resource_name | |||
) |
Return a string containing the contents of `resource_name` `manager` must be an ``IResourceManager``
def pkg_resources.IResourceProvider.has_resource | ( | resource_name | ) |
Does the package contain the named resource?
def pkg_resources.IResourceProvider.resource_isdir | ( | resource_name | ) |
Is the named resource a directory? (like ``os.path.isdir()``)
def pkg_resources.IResourceProvider.resource_listdir | ( | resource_name | ) |
List of resource names in the directory (like ``os.listdir()``)
Copyright 2014 Google Inc. All rights reserved.