tessl install tessl/pypi-gntp@1.0.0Growl Notification Transport Protocol for Python
Agent Success
Agent success rate when using this tile
80%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.25x
Baseline
Agent success rate without this tile
64%
Build a notification system that sends desktop notifications for task management events with different priorities and behaviors.
Create a TaskNotifier class that sends desktop notifications about task events. The class should:
@generates
class TaskNotifier:
"""
Sends desktop notifications for task management events.
"""
def __init__(self, hostname='localhost', port=23053):
"""
Initialize the TaskNotifier.
Args:
hostname: The Growl server hostname (default: 'localhost')
port: The Growl server port (default: 23053)
"""
pass
def notify_task_created(self, task_title: str, task_details: str):
"""
Send a notification for a newly created task.
Args:
task_title: The title of the task
task_details: Details about the task
"""
pass
def notify_reminder(self, task_title: str, task_details: str):
"""
Send a persistent reminder notification for a task.
Args:
task_title: The title of the task
task_details: Details about the task
"""
pass
def notify_urgent(self, task_title: str, task_details: str):
"""
Send a high-priority urgent notification for a task.
Args:
task_title: The title of the task
task_details: Details about the task
"""
passProvides desktop notification capabilities via Growl Notification Transport Protocol.
@satisfied-by