Package invocations :: Package monitoring :: Module createCalendar :: Class CalendarHTML
[hide private]

Class CalendarHTML

source code


HTML file containing ingest information.

Instance Methods [hide private]
 
createLegend(self)
Write the legend into the HTML file.
source code
str
getCu1Line(self, date, versStr, cuStats)
Create HTML for CU1 data.
source code
str
getCu2Line(self, date, versStr, cuStats)
Create HTML for CU2 data.
source code
str
getCu3Line(self, date, versStr, cuStats)
Create HTML for CU3 data.
source code
str
getCu4Line(self, date, versStr, cuStats)
Create HTML for CU4 data.
source code
 
createBigTable(self, cuList, semester, cuStatistics)
Create and fill table for all CUs.
source code

Inherited from wsatools.File.HTMLFile: __init__, writeFoot, writeHeader, writeTimestamp

Inherited from wsatools.File.File: aopen, chmod, close, copyFile, exists, getsize, isClosed, readline, readlines, remove, ropen, wopen, writeline, writelines, writetheline

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  sysc = SystemConstants()
  surveys = None
hash(x)
  archive = None
hash(x)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

getCu1Line(self, date, versStr, cuStats)

source code 

Create HTML for CU1 data.

Parameters:
  • date (datetime) - The date of the data for this line.
  • versStr (str) - The version of the data for this line.
  • cuStats (dict) - Dictionary containing the data.
Returns: str
The HTML code for this line.

getCu2Line(self, date, versStr, cuStats)

source code 

Create HTML for CU2 data.

Parameters:
  • date (datetime) - The date of the data for this line.
  • versStr (str) - The version of the data for this line.
  • cuStats (dict) - Dictionary containing the data.
Returns: str
The HTML code for this line.

getCu3Line(self, date, versStr, cuStats)

source code 

Create HTML for CU3 data.

Parameters:
  • date (datetime) - The date of the data for this line.
  • versStr (str) - The version of the data for this line.
  • cuStats (dict) - Dictionary containing the data.
Returns: str
The HTML code for this line.

getCu4Line(self, date, versStr, cuStats)

source code 

Create HTML for CU4 data.

Parameters:
  • date (datetime) - The date of the data for this line.
  • versStr (str) - The version of the data for this line.
  • cuStats (dict) - Dictionary containing the data.
Returns: str
The HTML code for this line.

createBigTable(self, cuList, semester, cuStatistics)

source code 

Create and fill table for all CUs.

Parameters:
  • cuList (list) - List of CUs the table is filled for.
  • semester (str) - The semester the HTML is created for.
  • cuStatistics (cuStats object) - The collected information for the CUs.