Registry / http-networking / jeepney

jeepney

JSON →
library0.9.0pypypi✓ verified 50d ago

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.

http-networkingcommunication
pip install jeepney
Install & Compatibility
Where this runs
tested against v0.9.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
3/5 runs
3/5 runs
py 3.11
3/5 runs
3/5 runs
py 3.12
3/5 runs
3/5 runs
py 3.13
3/5 runs
3/5 runs
py 3.9
3/5 runs
3/5 runs
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

DBus
from jeepney import DBus
from jeepney import DBusConnection

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
Debug
Known issues
breakingThe deprecated 'connection.router' API has been removed in version 0.9.0. Use proxies or 'send_and_get_reply()' for routing replies to method calls, and 'filter()' for other routing needs.
fix
Update your code to utilize proxies or 'send_and_get_reply()' for method call replies, and 'filter()' for other routing functionalities.
affects: 0.9.0
breakingThe 'unwrap' parameter from 'send_and_get_reply' in the blocking integration has been removed in version 0.9.0.
fix
Remove the 'unwrap' parameter from 'send_and_get_reply' calls in your code.
affects: 0.9.0
breakingThe 'DBusConnection' class is no longer directly importable from the top-level 'jeepney' package due to module reorganization.
fix
Update your import statement. Depending on your integration, you should import 'DBusConnection' from a submodule, e.g., 'from jeepney.blocking import DBusConnection' for blocking I/O, or 'from jeepney.io.asyncio import DBusConnection' for asyncio.
affects: 0.9.0
breakingThe 'DBusConnection' class is no longer directly importable from the top-level 'jeepney' package. It has been moved to a submodule, typically 'jeepney.blocking' for blocking connections or similar for other types of connections.
fix
Update your imports from `from jeepney import DBusConnection` to `from jeepney.blocking import DBusConnection` or the appropriate submodule where it now resides.
affects: 0.9.0
Upgrade
Version history
0.9.0latest on PyPI
Audit
Dependencies
jeepney.iooptionalProvides bindings for different event loops to handle I/O operations
Agent activity
64 hits · last 30 days
node
10
petalbot
4
seranking-bot
4
ahrefsbot
3
bytedance
3
Amazon
1
mj12bot
1
Resources