python-dbus-next
python-dbus-next copied to clipboard
🚌 The next great DBus library for Python with asyncio support
https://developer.gnome.org/gio/stable/GDBusMessage.html#g-dbus-message-to-blob GIO exposes its marshaller to python like this. It would be somewhat cleaner to dynamically generate the marshaller data instead of having it in data files. GLib is required...
https://github.com/altdesktop/python-dbus-next/blob/3680c15a5b23ad0e8254dc67f0906aedadd65cf5/dbus_next/message_bus.py#L688-L692 > An empty string may be provided for the interface name; in this case, if there are multiple properties on an object with the same name, the results are...
According to the [spec](https://dbus.freedesktop.org/doc/dbus-specification.html#message-bus-types-login-x-windows), we should be getting the session bus address from the window properties of an X11 selection owner and fall back to the filesystem if that is...
@michallowasrzechonek-silvair has pointed out that unix fds probably don't work. By looking at the code I don't think it actually works... As far as I understand, it's not enough to...
Monitor clients probably don't work with this library. Add tests for monitor clients, write a dbus-monitor(1) type utility, and make sure they work correctly.
The high-level client `on_[SIGNAL]()` and low-level `add_message_handler()` should accept coroutine functions as handlers in addition to normal functions.
It'd be useful for those who use trio instead of asyncio if this library supported both. [AnyIO](https://anyio.readthedocs.io/en/latest/) is a library which provides an abstraction over different event loop implementations. Would...
PR for issue #130
Am I missing something or is it not possible to decorate async methods with `@method`? The `wrapped` method here is not marked `async`: https://github.com/altdesktop/python-dbus-next/blob/master/dbus_next/service.py#L90 Should be easy to check, whether...
The @method decorator in dbus-python has a sender_keyword parameter to retrieve the name of the sender. Is there any way to do this in python-dbus-next? Can't find any... However, it...