pynotificator: Easily send notifications from Python
Project description
PyNotificator
HomePage / Documentation / PyPI
Quick Start
Installation
Install with pip.
$ pip install pynotificator
If you are using Windows, you need an option: pip install pynotificator[win]
.
Python and Command Line Tools
You can use command line tools.
Beep
# Python
from pynotificator import BeepNotification
bn = BeepNotification(3)
bn.notify()
# Command Line Tools
$ beep-notify -t 3
Desktop
# Python
from pynotificator import DesktopNotification
dn = DesktopNotification('Hello', title='PyNotificator', subtitle='Notify')
dn.notify()
# Command Line Tools
$ desktop-notify -m Hello -t PyNotificator -s Notify
Slack
# Python
from pynotificator import SlackNotification
sn = SlackNotification('PyNotificator', 'https://hooks.slack.com/services/xxx')
sn.notify()
# Command Line Tools
$ slack-notify -m PyNotificator https://hooks.slack.com/services/xxx
Discord
# Python
from pynotificator import DiscordNotification
dn = DiscordNotification('PyNotificator', 'https://discordapp.com/api/webhooks/xxx')
dn.notify()
# Command Line Tools
$ discord-notify -m PyNotificator https://discordapp.com/api/webhooks/xxx
LINE
# Python
from pynotificator import LineNotification
ln = LineNotification('PyNotificator', 'xxx')
ln.notify()
# Command Line Tools
$ line-notify -m PyNotificator xxx
License
Author
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
Close
Hashes for pynotificator-1.0.0.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a9a39f25fcbaa3051d0cdf0fa30d6f07aa650f9abe485faecf185cd94485a6d |
|
MD5 | 7a4132e536e28d872a99e567d641c161 |
|
BLAKE2b-256 | e0048c6b13a0dc732c36fbd95e0d794f7727e8de06b1ad0dfdf0cad8d2f8bb64 |