Skip to main content

Notifications Toolbox

Teamsit

Send Microsoft Teams messages through an incoming webhook.

Install

pip install lupaxa-teamsit
teamsit --help

CLI

teamsit --webhook "$TEAMS_WEBHOOK_URL" --text "Hello, Teams!"
teamsit --profile testing --text "Hello, Teams!"
teamsit -p alerts --config "$HOME/work/teamsit.yml" --text "Disk full"
python -m lupaxa.teamsit --version

The webhook URL must be an Office 365 connector address (https://outlook.office.com/webhook/…) or a Teams incoming webhook (https://….webhook.office.com/webhookb2/…). --text, --card, and --validate are mutually exclusive. Flags override the same fields from the selected profile.

Config

Profiles live in $HOME/.teamsit.yml. Pass --config to use another file. --config requires --profile.

profiles:
  testing:
    webhook_url: https://outlook.office.com/webhook/YOUR_WEBHOOK_URL
    title: Alerts
    color: "00FF00"
    timeout: 15
  notices:
    webhook_url: https://contoso.webhook.office.com/webhookb2/YOUR_WEBHOOK_URL
    title: Notice

Each profile may set webhook_url, title, color, and timeout.

Library

from lupaxa.teamsit import Teamsit, load_profile

profile = load_profile("testing")
client = Teamsit(
    profile.webhook_url,
    title=profile.title,
    color=profile.color or "00FF00",
)
client.send_message("Hello, Teams!")

Development

make init
make python-install-dev
make python-check

Documentation

Site pages live in mkdocs/ and publish to https://teamsit.thelupaxaproject.org/.

make init
make python-install-dev
make mkdocs-serve
The Lupaxa Project Footer

Release files for lupaxa-teamsit 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lupaxa-teamsit 0.1.2
File Size Uploaded
lupaxa_teamsit-0.1.2.tar.gz 8.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lupaxa-teamsit 0.1.2
File Interpreter ABI Platform
lupaxa_teamsit-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 18.7 kB

Release files / lupaxa_teamsit-0.1.2.tar.gz

Download URL lupaxa_teamsit-0.1.2.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ac3ddf00e7505c651374e8489c287445aa71fd29b480b89d5af73219bece5dbb
BLAKE2b-256 checksum
How to use checksums
667adb1e528a27f59c5aa9c456c3d45d4719da9aa72daf44f4721273754a4eb3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.

Transparency log

Release files / lupaxa_teamsit-0.1.2-py3-none-any.whl

Download URL lupaxa_teamsit-0.1.2-py3-none-any.whl
Size 10.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e81b4aa03af6ef376e8b73966f5ace52657d894e90ac90a7a69be56c7a18deda
BLAKE2b-256 checksum
How to use checksums
3b0cca80a2e1528133fafdcf4b1e9407b13733c3eb4c316018e7ba258c62cb3d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page