get_ver()

Returns a numeric version code for the PlanetCNC library, constructed from build-time version constants. The version is encoded as an unsigned integer. This allows easy numeric comparison of different versions.

Syntax

planetcnc.get_ver()

Parameters

Parameter Type Description
None

Return Value

Examples

#! /usr/bin/env python 
 
import planetcnc
 
version_code = planetcnc.get_ver()
print(f"PlanetCNC Library Version Code: {version_code}")

See also

get_ver
get_version