How does it relate to the "notifiers" Python library?
See original GitHub issueHi.
That’s a very nice library that you made here, congrats! 👍
I don’t know if you are aware of the notifiers
library which seems very similar to apprise
as it provides a convenient API to send notifications to several providers.
I was wondering: is there any fundamental difference between these two libraries?
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
notifiers - PyPI
A unified interface means that you already support any new providers that will be added, no more work needed! Thorough testing means protection...
Read more >Knockknock — Probably The Best Python Library For ...
knockknock is a notification open-source library from hugging face. It aims to send notifications to the users, informing them of the status of...
Read more >Python Desktop Notifier using Plyer module - GeeksforGeeks
This article demonstrates how to create a simple Desktop Notifier application using Python. A desktop notifier is a simple application which ...
Read more >Create Desktop Notifier using Python | by Ayushi Rawat
In this Blog article, we will learn how to send Desktop notifications . We will see the implementation in Python.
Read more >Desktop Notifier in Python - Javatpoint
For this Python project, we are required to install two necessary packages. The first package is 'requests', which will help us fetch data...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@caronc Actually, because
apprise
uses standardlogging
, there is less risk of deadlock. I implementedloguru
without relying on the built-in mechanisms, so both logging systems will live alongside without interfering with each others by default.Problem may occur if user decides to interconnect the two logging systems by adding a specific
InterceptHandler()
for example. In such case, logs emitted from standardlogging
will be emitted tologuru
handlers too. If additionally the user added a handler making use on theapprise
notifier without filtering out logs coming from your library, then deadlock or recursion limit exhaustion will likely happen.This is a complicated edge case I’m not sure can be properly fixed.
I think it’s indeed better to keep the two libraries separate from each other. Although I first thought of integrating a notification system directly into
loguru
, this is not along the lines of the Unix philosophy of “doing one thing and doing it well”. I prefer to leave this decision to the user.apprise
andloguru
are able to be interfaced together, this is not perfect for reasons you described, but I’m fine with that.Again, thanks for the kind words, much appreciated! You made a fantastic job too with all the notification backends supported so far, and I see you are still adding new ones. That’s insane. 😄
I appreciate you sharing your opinion. I’ll add a conversion to MIT the TODO list. 🙂