vice.version¶
VICE Version Information
In keeping with convention, VICE’s version string can be accessed via
vice.__version__
. Alternatively, this object can simply be type-casted
to a string via str(vice.version)
.
VICE records its version number according to the semantic versioning method described in PEP 440 [1].
Attributes¶
- major
int
The major version number of this release.
- minor
int
The minor version number of this release.
- micro
int
The micro version number of this release (also known as patch number).
- dev
int
The development version number of this release.
None
if this is not a development release.- alpha
int
The alpha version number of this release.
None
if this is not an alpha release.- beta
int
The beta version number of this release.
None
if this is not a beta release.- rc
int
The release candidate number of this release.
None
if this is not a release candidate.- post
int
The post number of this release.
None
if this is not a post release.- isreleased
bool
Whether or not this version has been released. If False, users are advised to contact a contributor to VICE if they are not a contributor themselves.
Note
At most one of the attributes dev
, alpha
, beta
,
rc
, and post
will not be None
.
Notes¶
This object can be type-cast to a tuple of the form:
(major, minor, micro, dev, alpha, beta, rc, post)
Alternatively, the information can be obtained in dictionary format via
vice.version.todict()
.