prologin.presencesync_clients.usermap module

prologin.presencesync_clients.usermap.fill_machine(text, login=None, group='')

Fill some text object according to the given login. If login is None, the machine is considered as not occupied.

prologin.presencesync_clients.usermap.fill_rect(rect, status=True, registered=False, faulty=False)

Fill the rectangle of the machine in the usermap.

prologin.presencesync_clients.usermap.generate(map_pattern, output)

Write the SVG user map into the output using the map_pattern readable file and the logins -> hostname mapping.

async prologin.presencesync_clients.usermap.ping_machine(hostname)
async prologin.presencesync_clients.usermap.poll_all()
prologin.presencesync_clients.usermap.update_map()
async prologin.presencesync_clients.usermap.update_ping()