Create a formatter of type formatter_type with initialization options.
If convert_values is True then values are considered to be strings and are converted into their respective types as specified in the formatter metadata. This should be used as convenience conversion from web server, for example.
Register formatter factory with type name formatter_type
Creates a formatter that formats result into a tabular structure.
Create a simple HTML table formatter
Creates a cross-table formatter.
Arguments:
If aggregates are put on rows or columns, then respective row or column is added per aggregate. The data contains single aggregate values.
If aggregates are put in the table as cells, then the data contains tuples of aggregates in the order as specified in the aggregates argument of format() method.
Creates a cross table from a drilldown (might be any list of records). onrows contains list of attribute names to be placed at rows and oncolumns contains list of attribute names to be placet at columns. aggregates is a list of aggregates to be put into cells. If aggregates are not specified, then only record_count is used.
Returns a named tuble with attributes:
Create a simple HTML table formatter. See CrossTableFormatter for information about arguments.
See also