dbus-trace is a wrapper to see what D-Bus messages a program sends and receives.
Installation:
pip install dbus-trace
Usage:
dbus-trace <command>
# For example - notify-send creates a desktop notification using D-Bus
$ dbus-trace notify-send "Hello world"
* Connected to session bus (connection 0)
◀ method_call: Hello [serial = 1]
path = /org/freedesktop/DBus
interface = org.freedesktop.DBus
destination = org.freedesktop.DBus
...
◀ method_call: Notify [serial = 7]
path = /org/freedesktop/Notifications
interface = org.freedesktop.Notifications
destination = :1.44
Data (susssasa{sv}i): (
'notify-send',
0,
'',
'Hello world',
'',
[],
{'sender-pid': ('x', 31559), 'urgency': ('y', 1)},
-1,
)
▷ method_return: [serial = 88]
Flags: 1 (no_reply_expected)
destination = :1.944
reply_serial = 7
sender = :1.44
Data (u): (8,)
...
dbus-trace listens on Unix sockets for the system bus and the session bus, and passes through any data sent to these sockets to the real buses. It runs the child program with environment variables pointing it to use these proxy sockets, and of course it decodes what’s going through and prints it to the terminal.
For more background about D-Bus, see What is D-Bus?.
Metadata
Release files for dbus_trace 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dbus_trace-0.1.tar.gz | 4.4 kB | Without provenance | Details for dbus_trace-0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dbus_trace-0.1-py3-none-any.whl | Python 3 | none | any | Details for dbus_trace-0.1-py3-none-any.whl |
Total release size: 9.4 kB
Release files / dbus_trace-0.1.tar.gz
| Download URL | dbus_trace-0.1.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e7e1e5cafbdb41b0d12a16a83fbb83a03a6f6eb2cf98e7e8e7615d89978fcad2
|
|
BLAKE2b-256 checksum How to use checksums |
0ddda4366f3eca23245adba69e7799600cf1d3f4c82c205cfe68f148e71fd55b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.28.1
|
Release files / dbus_trace-0.1-py3-none-any.whl
| Download URL | dbus_trace-0.1-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0922f057711063ccb55e14c83bee09b54a571a467db9a3281c83715d58c55996
|
|
BLAKE2b-256 checksum How to use checksums |
250cd5c865a059fa5d0d3e2f321e2b29af4d1db8c8346606dcc221bd6198bdd3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.28.1
|
Security for dbus_trace 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.