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.
planetcnc.get_ver()
#! /usr/bin/env python import planetcnc version_code = planetcnc.get_ver() print(f"PlanetCNC Library Version Code: {version_code}")