Welcome to dasbus’s documentation!
Dasbus is a DBus library written in Python 3, based on GLib and inspired by pydbus. The code used to be part of the Anaconda Installer project. It was based on the pydbus library, but we replaced it with our own solution because its upstream development stalled. The dasbus library is a result of this effort.
You can install PyGObject provided by your operating system
or use PyPI. The system package is usually called
pygobject3. See the instructions
for your platform (only for PyGObject, you don’t need cairo or GTK).
The library is known to work with Python 3.8, PyGObject 3.34 and GLib 2.63, but these are not the required minimal versions.
Install the package from PyPI or install the package provided by your operating system if available.
Install from PyPI
Follow the instructions above to install the requirements before you install
pip. The required dependencies has to be installed manually in this case.
pip3 install dasbus
Install on Arch Linux
git clone https://aur.archlinux.org/python-dasbus.git cd python-dasbus makepkg -si
Install on Debian / Ubuntu
Install the system package on Debian 11+ or Ubuntu 22.04+.
sudo apt install python3-dasbus
Install on Fedora / CentOS / RHEL
Install the system package on Fedora 31+, CentOS Stream 8+ or RHEL 8+.
sudo dnf install python3-dasbus