km3modules.communication
¶
Talk to the ELOG, interact with the Chat server etc.
Module Contents¶
Classes¶
Allows communication with the KM3NeT ELOG server. |
Functions¶
|
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)
- 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)