Package zeroinstall :: Package injector :: Module model :: Class Implementation
[frames] | no frames]

Class Implementation

source code

object --+
         |
        Implementation

An Implementation is a package which implements an Interface.

Instance Methods
 
__init__(self, feed, id)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
get_stability(self) source code
 
__str__(self)
str(x)
source code
 
__repr__(self)
repr(x)
source code
 
__cmp__(self, other)
Newer versions come first
source code
 
get_version(self)
Return the version as a string.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Class Variables
  arch = property(lambda self: _join_arch(self.os, self.machine))
  machine = None
Create a new digest.
  os = None
Create a new digest.
Instance Variables
[Binding] bindings
how to tell this component where it itself is located (since 0.31)
[RetrievalMethod] download_sources
list of methods of getting this implementation
[ZeroInstallFeed] feed
the feed owning this implementation (since 0.32)
  id
a unique identifier for this Implementation
  langs
natural languages supported by this package
  main
the default file to execute when running as a program
{"[URI ]localName": str} metadata
extra metadata from the feed
  released
release date
  requires
interfaces this package depends on
[insecure | buggy | developer | testing | stable | packaged] upstream_stability
the stability reported by the packager
  user_stability
the stability as set by the user
  version
a parsed version number
Properties

Inherited from object: __class__

Method Details

__init__(self, feed, id)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

get_version(self)

source code 

Return the version as a string.

See Also: format_version