skip to navigation
skip to content

Not Logged In

pydbus 0.1

Pythonic DBus library

Latest Version: 0.2

Pythonic DBus library.

It’s based on PyGI, the Python GObject Introspection bindings, which is the recommended way to use GLib from Python. Unfortunately, PyGI is not packaged on pypi, so you need to install it from your distribution’s repository (usually called python-gi, python-gobject or pygobject3).

It’s pythonic!

from pydbus import SessionBus

bus = SessionBus()
notifications = bus.get('.Notifications')

notifications.Notify('test', 0, 'dialog-information', "Hello World!", "pydbus works :)", [], {}, 5000)
from pydbus import SystemBus

bus = SystemBus()
systemd = bus.get(".systemd1")

for unit in systemd.ListUnits()[0]:
    print(unit)
 
File Type Py Version Uploaded on Size
pydbus-0.1.tar.gz (md5) Source 2014-08-31 4KB
  • Downloads (All Versions):
  • 12 downloads in the last day
  • 108 downloads in the last week
  • 321 downloads in the last month