Python API Reference

Core functions

This is called by the command line tool docsample-hello using the docsample-hello name argument.

docsample.core.hello(x)

Generate a greeting message.

Parameters:

x (str) – The name or entity to greet.

Returns:

A greeting message in the format “Hello {x}”.

Return type:

str