CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/pypi-gntp

tessl install tessl/pypi-gntp@1.0.0

Growl 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%

task.mdevals/scenario-9/

Application Status Notifier

Build a simple application status monitoring utility that sends desktop notifications for various application events.

Capabilities

Basic notification functionality

The utility should provide a simple function that sends quick status notifications to the desktop. The function should be minimally invasive and not crash the application if notifications fail.

  • Calling send_status_notification("Build", "Build completed successfully") sends a notification with title "Build" and message "Build completed successfully" @test
  • Calling send_status_notification("Error", "Database connection failed") sends a notification with title "Error" and message "Database connection failed" @test
  • The function should handle notification failures gracefully without raising exceptions @test

Implementation

@generates

API

def send_status_notification(title: str, message: str) -> None:
    """
    Sends a desktop notification with the given title and message.

    This function sends notifications in a fire-and-forget manner and
    swallows any exceptions to avoid disrupting application flow.

    Args:
        title: The notification title
        message: The notification message content
    """
    pass

Dependencies { .dependencies }

gntp { .dependency }

Provides desktop notification support via the Growl Notification Transport Protocol.

@satisfied-by

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/gntp@1.0.x
tile.json