Skip to main content

A small package that allows for the transmission of teams notifications

Project description

TeamsNotificationSubsystem

Purpose

This package allows for the transmission of teams messages.

Prerequisites

python -m pip install requests

Install

python -m pip install CovenirBPO.package.TeamsNotificationSubsystem

Set your Teams Webhook Environment Variable

NOTE: This environment variable is required

Name Value
TEAMS_WEBHOOK Your webhook

Usage

# Import the package
from TeamsNotificationSubsystem import TeamsNotifier

# Create the notifier object
notifier = TeamsNotifier.TeamsNotifier()

# Choose the message type that you would like to send
notifier.send_error_message('title', 'message')
notifier.send_warning_message('title', 'message')
notifier.send_info_message('title', 'message')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file covenirbpo_package_teamsnotificationsubsystem-1.0.0.tar.gz.

File metadata

File hashes

Hashes for covenirbpo_package_teamsnotificationsubsystem-1.0.0.tar.gz
Algorithm Hash digest
SHA256 898732d66bda195860944c28ff411a733fab065783c037b68d28a52a86795e68
MD5 1bc71dc357e8c474becb01332c9c2c18
BLAKE2b-256 6a0feaea40f9cf12143d5819737e8f29bd9231d88c4d4bfaae402331f8ed549c

See more details on using hashes here.

File details

Details for the file covenirbpo_package_teamsnotificationsubsystem-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for covenirbpo_package_teamsnotificationsubsystem-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5f5ec8d472f3e014b98dc6a155b21d88331ad5acad2431e9881dd22120e7969c
MD5 a3264912a8708e47e005e1fa366f19ab
BLAKE2b-256 14ce350588f1f6f7bfa572b2517b7abb3c72467b74db7325c10d13d99ffcb91c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page