distrax.utils.network.hostname#

distrax.utils.network.hostname()[source]#

Get the hostname of the system.

Return type:

str

Returns:

The hostname of the machine

Examples

>>> distrax.utils.network.hostname()
    'example.com'