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 .. toctree:: :maxdepth: 1 :caption: Contents: Development and testing Dasbus vs pydbus Public API Examples Indices and tables ------------------ - :ref:`genindex` - :ref:`modindex` - :ref:`search`