![]() |
[M5] E-mail/IM style notifications from Python3?
So, I have an app written with Python 3, using the requests module for the http API and gi.repository.Notify for showing notifications. Now I'd like to port it to Fremantle.
And here the problem arises. There are virtually no modules for Python 3 on Fremantle. Is there any way I could bundle the modules with my app? I guess that porting the needed modules from Debian is out of reach. And requires much too much work. Old contents: I'm working on a simple app written in python3 which core feature is displaying notifications. It already works on desktop using the python bindings for libnotify. Code:
import gi I'll have to create a separate method of displaying notifications and I don't mind it. But what method would you suggest? Using shell and `dbus-send` comes to my mind but its awful. |
Re: [M5] E-mail/IM style notifications from Python3?
|
Re: [M5] E-mail/IM style notifications from Python3?
Basically, the only solution for me seems to be running this all in Easy Debian. After small patching one can even easily run daemons that way.
|
Re: [M5] E-mail/IM style notifications from Python3?
What modules does it need? Easy Debian sounds like overkill.
I've still got a series of Perl modules to upload to fix get_iplayer. I posted a RFC to see what the preferred way of doing it would be (minimal to get it working vs more packages but potentially better performance but more to maintain) but never got a proper response. |
Re: [M5] E-mail/IM style notifications from Python3?
Quote:
Code:
import notify2 Our dbus is too old for the current Debian version of python-dbus, notify2 uses dbus. |
All times are GMT. The time now is 09:21. |
vBulletin® Version 3.8.8