A simple Python package for sending alerts using SendAlert.io
Project description
SendAlert.io Python Package
A simple Python package for sending alerts using SendAlert.io.
Installation
pip install sendalert
Usage
First set your API key:
export SENDALERT_API_KEY=your_api_key_here
export SENDALERT_PROJECT=your_project_name
Now you can send:
from sendalert import sendalert
sendalert("message")
Alternative: set your API key and project in your code
import os
from sendalert import sendalert
os.environ["SENDALERT_API_KEY"] = "your_api_key_here"
os.environ["SENDALERT_PROJECT"] = "your_project_name"
sendalert("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
sendalert-0.2.0.tar.gz
(2.8 kB
view details)
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 sendalert-0.2.0.tar.gz.
File metadata
- Download URL: sendalert-0.2.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb8ba2e51fede247944793eb316ff1e4766b2ab273284e8f2ac2ffb102726d74
|
|
| MD5 |
747c6abf4ea9b732c23589dcafe032d3
|
|
| BLAKE2b-256 |
49ae9a6d5845a122d5db23f5d8a18d10be1eaa476a4bb8b7b39bd02b9b81718e
|
File details
Details for the file sendalert-0.2.0-py3-none-any.whl.
File metadata
- Download URL: sendalert-0.2.0-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4dfb2c5ce6dd5232492efafc073a3ee8b783cfbc1988b830982d558c50270d37
|
|
| MD5 |
b33b3a248db15c1a29dca9ef59407216
|
|
| BLAKE2b-256 |
7ffc69eee01ca4776a64d99c05b97052e4d00ac453a896e192919ca9c2cb2063
|