Notify-py

Latest version: v0.3.43

Safety actively analyzes 682457 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.3.2

Notes

- Notifications on Linux will now be done directly via dbus with the [jeepney library](https://gitlab.com/takluyver/jeepney). Jeepney is a pure python module.

- All notifiers will not be imported at initalization. *You can still pass a notifier manually, if you want to override the OS check!*

- This library should work fine with Apple Silicon & Big Sur.

Fixes

- Custom audio sounds will no longer make a console window appear for Windows users who use python applications packaged with PyInstaller (29)

- Application names will now pass to Libnotify (legacy notifier) 27


Breaking changes

- ``LinuxNotifierLibNotify`` and ``LinuxNotifier``. If you wish to continue to use the default method for notifications in versions <=0.3.1, please pass the ``linux_use_legacy_notifier`` argument to ``Notify(..)``

- Automatic Fallback to ``LinuxNotifierLibNotify`` is available by setting the optional argument ``linux_fallback_libnotify`` to ``True``.

0.3.0

breaking changes:

``override_detected_notification_system`` kwarg has been changed to ``use_custom_notifier``. This kwarg is for passing a custom object inherited by BaseNotifier.

``override_detected_notification_system`` is now for passing a custom platform name.


new:

- ``override_windows_version_detection`` : this new kwarg allows for older 8/7 users to attempt to try to use the Windows 10 method of notifying. (Probably will not work).

- ``notifypyEnableLogging``: this new kwarg enables logging.

- CLI Support! (Syntax can be found at 12)

Fixes:

- Stop powershell from popping up in pyinstaller.exe 18

0.2.2

- Docs are now live!
- Notify class can now be initialized with an optional kwarg for using a custom macOS notifier. (direct path)
- Override detected notifier with a built-in or custom made.
- BaseNotifier class added
- Logging is now disabled by default (7). Use the argument ``enable-logging`` to re enable.
- check if a custom macOS notifier can be be executed.
- New tests.
- More code commenting.

0.1.5

- Support for custom sounds across all platforms..
- Custom Exceptions.
- Setting custom audio/icon for the default will now trigger a "check" if the file does exist.
- [Github Actions] Tests on every platform will no longer trigger a black formatting check. Opting for a separate workflow for testing black formatting.
- Updated README.md
- Added a instructions page for adding a custom macOS icon.

0.0.8

***
This adds support for sending notifications without blocking. (2 ).
Thanks to Leterax for this contribution.

0.0.6

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.