Registry / http-networking / jeepney

jeepney

JSON →
library0.9.0pypypi✓ verified 24d 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.

pip install jeepney
INSTALL
IMPORT
SIG · JEEPNEY
J
jeepney
http-networkingpythonv0.9.0
Install
1.7s avg
Import
29ms
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
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
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.028s · 18.2MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.7s · import 0.030s · 19MB
16MB installed
● package 16MB
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 · released Feb 27, 2025
Audit
Dependencies
jeepney.iooptionalProvides bindings for different event loops to handle I/O operations
Agent activity
33 hits · last 30 days
node
28
Anthropic
1
OpenAI (training)
1
Resources
jeepney — pip install jeepney · libregistry