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.

Requirements

  • Python 3.6+

  • PyGObject 3

You can install PyGObject provided by your operating system or use PyPI. The system package is usually called python3-gi, python3-gobject or 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.

Installation

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 dasbus with pip. The required dependencies has to be installed manually in this case.

pip3 install dasbus

Install on Arch Linux

Build and install the community package from the Arch User Repository. Follow the guidelines.

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

Install on openSUSE

Install the system package on openSUSE Tumbleweed or openSUSE Leap 15.2+.

sudo zypper install python3-dasbus

Indices and tables