Jeepney

0.9.0 · active · verified Sat Mar 28

Jeepney is a low-level, pure Python D-Bus protocol wrapper, currently at version 0.9.0, designed for interprocess communication on desktop Linux systems. It offers a non-magical approach to D-Bus, requiring more explicit code compared to other interfaces like dbus-python or pydbus. Jeepney is actively maintained with a release cadence of approximately one major version per year.

Warnings

Install

Imports

Quickstart

A basic example demonstrating how to import and use DBusConnection from jeepney to interact with D-Bus services.

import os
from jeepney import DBusConnection

# Establish a connection to the D-Bus session bus
connection = DBusConnection()

# Use the connection to interact with D-Bus services
# For example, to call a method on a service:
# response = connection.call(service_name, method_name, args)

# Remember to handle exceptions and manage the connection lifecycle appropriately

view raw JSON →