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)
 
get_version_parts(self)
 
compare_to(self, version)
 
get_max_parts(self)
Static Methods
 
version_from_string(version_string)