tessl install tessl/pypi-tabulate@0.9.0Pretty-print tabular data in Python with extensive formatting options and output format support.
Agent Success
Agent success rate when using this tile
69%
Improvement
Agent success rate improvement when using this tile compared to baseline
0.9x
Baseline
Agent success rate without this tile
77%
A utility for formatting structured log data into human-readable tables with custom delimiters.
Create a log formatter that takes structured log entries and formats them into tables using custom column separators. The formatter should support different delimiter styles for different log levels or output contexts.
The formatter must provide a function that accepts log entries (as a list of dictionaries or similar tabular data) and outputs formatted tables with customizable column separators.
The formatter should support creating tables with various separator styles:
[{"timestamp": "2024-01-01", "level": "INFO", "message": "Started"}], formatting with "|" separator produces a table with columns separated by "|" @test[{"timestamp": "2024-01-01", "level": "INFO", "message": "Started"}], formatting with "," separator produces a table with columns separated by "," @test@generates
def format_logs(entries, separator):
"""
Format log entries into a table with custom column separators.
Args:
entries: List of dictionaries containing log entry data
separator: String to use as column separator
Returns:
Formatted table string with custom separators
"""
passProvides table formatting capabilities with support for custom separators.