Common package
Submodules
LOGS_solutions.GenerateStatistics.Common.CommonHandler module
LOGS_solutions.GenerateStatistics.Common.DateHandler module
- class LOGS_solutions.GenerateStatistics.Common.DateHandler.DateHandler[source]
Bases:
object
This class provides methods to handle dates.
The class provides methods to check if a given date is in the correct format and to check if a given date is in a given range. Additionally, the class provides a method to convert seconds to days, hours, minutes and seconds.
- static check_date(date)[source]
Checks if the given date is a datetime object.
- Parameters:
date (
datetime
) – check if the given date is a datetime object.- Return type:
datetime
- Returns:
datetime object
LOGS_solutions.GenerateStatistics.Common.FileHandler module
LOGS_solutions.GenerateStatistics.Common.OutputGenerator module
- class LOGS_solutions.GenerateStatistics.Common.OutputGenerator.OutputGenerator(template_folder, template_name)[source]
Bases:
object
This class provides methods to create PDF and HTML files from a plot with the LOGS-PY style.