Package zeroinstall :: Module apps :: Class AppManager
[frames] | no frames]

Class AppManager

source code

object --+
         |
        AppManager

Instance Methods
 
__init__(self, config)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
App
create_app(self, name, requirements) source code
App
lookup_app(self, name, missing_ok=False)
Get the App for name.
source code
 
iterate_apps(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, config)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
Overrides: object.__init__

create_app(self, name, requirements)

source code 
Parameters:
Returns: App

lookup_app(self, name, missing_ok=False)

source code 

Get the App for name. Returns None if name is not an application (doesn't exist or is not a valid name). Since / and : are not valid name characters, it is generally safe to try this before calling injector.model.canonical_iface_uri.

Parameters:
  • name (str)
  • missing_ok (bool)
Returns: App