Package src :: Package com :: Package deviceatlas :: Package device :: Module version :: Class Version
[frames] | no frames]

Class Version

Encapsulates a version number string and allows for comparison to other version numbers.

Only numeric semantic version numbers are supported.

@author DeviceAtlas Limited

Instance Methods
 
__init__(self, version, max_parts=0)
 
update(self, max_parts)
 
version_parts(self)
 
compare_to(self, version)
 
max_parts(self)
Static Methods
 
version_from_string(version_string)
Method Details

version_parts(self)

 
Decorators:
  • @property

max_parts(self)

 
Decorators:
  • @property