Skip to main content

Display native customizable Mac OS dialogs and notifications with ease

Project description

Notipy

Python packge to display native customizable Mac OS dialogs and notifications with ease

Made with Python Make a PR MIT Buy Me A Coffee

Example

Check out the code for these examples in examples/dialogs/readme_examples.py.

🚀 Features

  • Display native dialogs
    • Add buttons
    • Text input (including hidden/password fields)
    • Callbacks (get button pressed and text enterd)
    • Customize icons
  • Display native notifications
    • Customize title, subtitle, and information text
    • Cusomize icon
    • Schedule a notification (using delay)
    • Callbacks (button pressed, reply text, ...) (please see this answer)

🛠 Quick start

Install

pip3 install notipy-osx

Display a dialog

from notipy_osx import dialog_prompt

dialog_prompt(text='This is a basic dialog')

Show a notification

from notipy_osx import notify

notify(title='New Notifiation')

Next steps

  • View the guide for a full understanding of all the parameters for the display_dialog and notify functions
  • See the examples
  • View (and star) the GitHub repository

📕 View the rest of the documentation here

😱 Issues and limitations

  • No callbacks for notifications (please see this answer)
  • Only for Mac OS

♥️ Support

If you liked this project, consider supporting by

  • ⭐️ Starring the repository
  • 🎒 Checking out my other projects
  • ☕️ Buying me coffee

📜 License

  • MIT
  • The icon Terminal.icns in examples/icons is a copy of Terminal.app's icon, which is copyrighted by Apple.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

notipy_osx-0.0.5.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

notipy_osx-0.0.5-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file notipy_osx-0.0.5.tar.gz.

File metadata

  • Download URL: notipy_osx-0.0.5.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.6

File hashes

Hashes for notipy_osx-0.0.5.tar.gz
Algorithm Hash digest
SHA256 9757208e81f35d16727586e16cdbd6353b499e3b084d187263b6a8609db59834
MD5 92a1259d9fbc7addb62e7e0d8c8268d9
BLAKE2b-256 bed383142e69a5f834400447d9bcf25b497936064dc35a3aa8780bee4a52be28

See more details on using hashes here.

File details

Details for the file notipy_osx-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: notipy_osx-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.6

File hashes

Hashes for notipy_osx-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 281ff0b7c10b1f1733b0e2c0f744fad4dd7d6191f0c88655331d72c95f4c69c8
MD5 58f5391ede8aed4eb263c90139580041
BLAKE2b-256 fd8c5cba771be01d259dca677d611db0294fe0be228053996bb71242234c22aa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page