Mac Notifier
Mac_notifier is a command line utility to display notifications, alerts and dialogs on mac. It executes apple scripts underneath to achieve the purpose.
Usage
dsp notify 'Hello wolrd' # send notification
dsp notify -t 'Hurry up!' 'Time is precious' # send notification with title
dsp alert WARNING # display alert
dsp alert -b '["Sorry", "I will"]' 'Will you marry me?' # display alert with customized buttons
dsp dialog 'Man is not made for defeat. A man can be destroyed but not defeated.'
For more detailed usage, refer to command help.
Command Help
Use dsp --help to show help:
Usage: dsp [OPTIONS] COMMAND [ARGS]...
Display notifications, alerts and dialogs on mac
Options:
--help Show this message and exit.
Commands:
alert Display an alert on mac
dialog Display a dialog on mac
notify Display a notification on mac
Use dsp subcommand --help to show help for subcommands, for example:
Usage: dsp alert [OPTIONS] CONTENT
Display an alert on mac
Options:
-m, --message TEXT Explanatory message.
-b, --buttons TEXT List of button names in json format, e.g. ["Cancel",
"OK"].
-d, --default INTEGER Index of default buttons, 1 based.
-l, --lasting INTEGER Number of seconds before dismissing. Wait forever if
not specified.
--help Show this message and exit.
Metadata
Release files for mac-notifier 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mac_notifier-0.0.3.tar.gz | 2.4 kB | Without provenance | Details for mac_notifier-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mac_notifier-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for mac_notifier-0.0.3-py3-none-any.whl |
Total release size: 5.5 kB
Release files / mac_notifier-0.0.3.tar.gz
| Download URL | mac_notifier-0.0.3.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
28cfd67381a5a9417af720b0383d330c5c7ffde3a926b4fc5176525da1badb83
|
|
BLAKE2b-256 checksum How to use checksums |
d5c536925571272a04f32d78fa5b8655abfa14649b6770319967d1f008ff1c55
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/3.10.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.10
|
Release files / mac_notifier-0.0.3-py3-none-any.whl
| Download URL | mac_notifier-0.0.3-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0c9a5fd967941876df433494c979fec5330a2daaf22ce30cc0bab91afd57c004
|
|
BLAKE2b-256 checksum How to use checksums |
0664703ca141856de2e21524d8ca66dc877d77df454cba0f5f21fcc1abb50282
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/3.10.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.10
|
Security for mac-notifier 0.0.3
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.