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
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file covenirbpo_package_teamsnotificationsubsystem-1.0.0.tar.gz.
File metadata
- Download URL: covenirbpo_package_teamsnotificationsubsystem-1.0.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
898732d66bda195860944c28ff411a733fab065783c037b68d28a52a86795e68
|
|
| MD5 |
1bc71dc357e8c474becb01332c9c2c18
|
|
| BLAKE2b-256 |
6a0feaea40f9cf12143d5819737e8f29bd9231d88c4d4bfaae402331f8ed549c
|
File details
Details for the file covenirbpo_package_teamsnotificationsubsystem-1.0.0-py3-none-any.whl.
File metadata
- Download URL: covenirbpo_package_teamsnotificationsubsystem-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f5ec8d472f3e014b98dc6a155b21d88331ad5acad2431e9881dd22120e7969c
|
|
| MD5 |
a3264912a8708e47e005e1fa366f19ab
|
|
| BLAKE2b-256 |
14ce350588f1f6f7bfa572b2517b7abb3c72467b74db7325c10d13d99ffcb91c
|