
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
yeonjae-universal-notification-service
Advanced tools
Universal notification service supporting Slack, Email, Discord, and webhooks for automated reporting
Universal notification service supporting Slack, Email, Discord, and webhooks for automated reporting.
# Basic installation
pip install yeonjae-universal-notification-service
# With Slack support
pip install yeonjae-universal-notification-service[slack]
# With Email support
pip install yeonjae-universal-notification-service[email]
# With Discord support
pip install yeonjae-universal-notification-service[discord]
# With all providers
pip install yeonjae-universal-notification-service[all]
import asyncio
from yeonjae_universal_notification_service import (
NotificationService, NotificationInput, NotificationChannel,
NotificationConfig, RecipientInfo
)
async def main():
# Initialize service
service = NotificationService()
# Configure notification
config = NotificationConfig(
channel=NotificationChannel.SLACK,
channel_id="#dev-reports"
)
recipient = RecipientInfo(
developer="John Doe",
developer_email="john@example.com",
slack_id="U1234567890"
)
# Create notification
notification = NotificationInput(
summary_report="🎉 Daily development summary ready!",
notification_config=config,
recipient_info=recipient
)
# Send notification
result = await service.send_notification(notification)
print(f"Status: {result.send_status}")
print(f"Message ID: {result.message_id}")
asyncio.run(main())
Set your API keys as environment variables:
export SLACK_BOT_TOKEN="xoxb-your-slack-bot-token"
export DISCORD_BOT_TOKEN="your-discord-bot-token"
export SMTP_PASSWORD="your-email-password"
MIT License
FAQs
Universal notification service supporting Slack, Email, Discord, and webhooks for automated reporting
We found that yeonjae-universal-notification-service demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.