Messaging --------- The *messaging* module of the allegroUtils helps you to communicate with the users of the Allegro computers. Message Templates ^^^^^^^^^^^^^^^^^^ There are a few pre-defined messages in :py:func:`~allegroUtils.messaging.message_templates`, which can be retrieved by setting the keyword ``kind``. These messages are... * ... a welcome message for visitors (``kind='visitor_welcome'``) * ... a goodbye message for visitors (``kind='visitor_goodbye'``) * ... an info message for users that are linked to a new project (``kind='link_user'``) * ... an info message for users about maintenance (``kind='maintenance'``) By running this piece of code, you can get the message for maintenance :: >>> from allegroUtils import messaging >>> msg = messaging.message_templates(kind='maintenance') >>> print(msg) Dear Allegro user, Allegro computers are due for a reboot due to maintenance. See the list below for more detailed information concerning the reboot: who? when?