core.internals.version

Submodule of khiops.core.internals

Class to handle Khiops version strings

Classes

KhiopsVersion

Encapsulates the Khiops version string

class khiops.core.internals.version.KhiopsVersion(version_str)

Bases: object

Encapsulates the Khiops version string

Implements comparison operators.

property major

int : The version’s major number

property minor

int : The version’s minor number

property patch

int : The version’s patch number

property pre_release

str : The version’s pre-release tag

Returns: either ‘a’, ‘b’ or ‘rc’ followed by ‘.’ and a number or None.