A Python library for lazy developers who want actions in their projects. Send communications and execute actions in remote services without needing to program them. Stop reinventing the wheel! Send an email, a Telegram message or write to a log with the same API:
from then.components import Email # 20 different components! All with the same API
email = Email(to='nekmo@localhost')
email.send(subject='[ERROR] HDD SATAIII Barracuda lifetime 10%',
body="Hello Nekmo,\nThis is the latest monitoring result: ...")
THEN supports most services and methods:
- Telegram
- Slack
- Discord
- Log to file
- IFTTT
- Home Assistant
- OpenHab
- System command
- HTTP
- Play sound
- SMS
- LINE
- XMPP
- Google Chat
- BroadLink
- Xiaomi Yeelight
This is embarrassing... THEN is in development! It's not ready yet but you can subscribe to the project changes. THEN is being programmed for the Amazon-dash project (with support from 2016 and 400+ stars).
To install then, run this command in your terminal:
$ sudo pip install then
This is the preferred method to install then, as it will always install the most recent stable release.
- TODO