Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Michael Fladischer fladi

🏠
Working from home
View GitHub Profile
@fladi
fladi / pyqt5-avahi-sample.py
Created Jul 14, 2016
Browse avahi services through DBUS using PyQt5 and QtDbus
View pyqt5-avahi-sample.py
#!/usr/bin/python3
import sys
import logging
import signal
from PyQt5.QtCore import QObject, QVariant, pyqtSlot, pyqtSignal
from PyQt5.QtWidgets import QApplication
from PyQt5.QtDBus import QDBus, QDBusConnection, QDBusInterface, QDBusMessage