Skip to content

common module

The common module contains common functions and classes used by the other modules.

get_version()

Returns the version of the spatialtsp package.

str : The version of the spatialtsp package.

Source code in spatialtsp/common.py
def get_version():
    """ Returns the version of the spatialtsp package.

    Returns:
    str : The version of the spatialtsp package.
    """
    return "0.0.1"

hello_world()

Prints "Hello World!" to the console.

Source code in spatialtsp/common.py
def hello_world():
    """Prints "Hello World!" to the console.
    """
    print("Hello World!")