km3modules.communication

Talk to the ELOG, interact with the Chat server etc.

Module Contents

Classes

ELOGService

Allows communication with the KM3NeT ELOG server.

Functions

create_elog_password_hash(password)

Create a SHA256 encrypted password for ELOGs.

class km3modules.communication.ELOGService(name=None, **parameters)[source]

Allows communication with the KM3NeT ELOG server.

Parameters:
username: string (optional)
password: string (required)
url: string (optional)
configure()[source]

Configure module, like instance variables etc.

post_elog(logbook, subject, message, author, message_type='Comment', files=None)[source]

Post an ELOG entry

Make sure to provide an existing author.

Parameters:
logbook: string (e.g. “individual+Logbooks”)
subject: string
message: string
author: string (make sure to provide an existing one!)
message_type: string (default=”Comment”)
files: list of strings (filenames, optional)
km3modules.communication.create_elog_password_hash(password)[source]

Create a SHA256 encrypted password for ELOGs.