Skip to main content

A simple package to send messages or alerts to MS Teams channels.

Project description

teams_alert

Introduction

teams_alert is a python package that allows you to send alerts to Microsoft Teams. It is a simple package that allows you to send messages to a channel in Microsoft Teams.

Getting Started

  1. Installation process pip install teams_alert

  2. Import the package from teams_alert import TeamsAlert

  3. Create an instance of TeamsAlert teams_alert = TeamsAlert(webhook_url)

  4. Send a message - email is optional teams_alert.send("Some sort of title you'd want to use", "Some sort of message you'd want to send", "jimbo_p@oxy.com")

Result

How to get the webhook URL

  1. Go to the Team and channel you are interested in posting to. Click the three dots next to the channel name and select "Workflows".

    Workflows

  2. Find "Post to a channel when a webhook request is received"

    Post to a channel when a webhook request is received

  3. Name the workflow if you so desire

    Name the workflow

  4. Check that the Team and Channel are correct

    Check that the Team and Channel are correct

  5. Copy the webhook URL

    Get the webhook URL

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

teams_alert-0.1.9.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

teams_alert-0.1.9-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file teams_alert-0.1.9.tar.gz.

File metadata

  • Download URL: teams_alert-0.1.9.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for teams_alert-0.1.9.tar.gz
Algorithm Hash digest
SHA256 be26dd66a3a0f02425e706fdc807040b83a5a51f8b5ad80de7948ee9eaf65fc5
MD5 20acd08f4a5388feeb005dc5bb2d700b
BLAKE2b-256 9fef14f53a27ae7b9ac99ddc0a497052d40c822490e58ebc598e2d72c233cf5e

See more details on using hashes here.

File details

Details for the file teams_alert-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: teams_alert-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for teams_alert-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 9bec47956e9f8df38a45f7bb0d53fef616baed7c3d0d0124aa384279321d8548
MD5 53a929f971b77a8cae7751d92842c672
BLAKE2b-256 5c155d56e995315dd349e002478dc4ca408943171b9ec03393b4ad93d0d28aa8

See more details on using hashes here.

Supported by

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