python-systemd icon indicating copy to clipboard operation
python-systemd copied to clipboard

Python wrappers for systemd functionality

Results 33 python-systemd issues
Sort by recently updated
recently updated
newest added

Please, upload new version to PyPI: https://pypi.org/project/systemd-python/

wondering if newer versions is needed. on Rhel8 systemd lib version is 239 and on rhel9.2 version is 252.

I get the following error when trying add this package as a dependency from pypi using `poetry add systemd-python`. ``` $ poetry add systemd-python Using version ^235 for systemd-python Updating...

The README.md says I can just apt install the headers. However, the only systemd header package available is libsystemd-dev. The others, like libsystemd-journal-dev and libsystemd-daemon-dev do not exist for 20.04,...

I'm using the poll method to tail the journald log in real time. However, when the journal is rotated, I predictably stop getting the next event. I seem to be...

I get a module not found error when trying to import systemd.daemon. I have tried various methods of installing the module. I am on Red Hat 8.5, trying this with...

Minimal repro: ```py from systemd import journal j = journal.Reader() j.add_match(_SYSTEMD_UNIT="httpd.service") ``` Error: ``` Traceback (most recent call last): File "/home/dobby/project/server/./server.py", line 14, in j.add_match(_SYSTEMD_UNIT="httpd.service") File "/home/dobby/.local/share/virtualenvs/server-dx5eltbR/lib64/python3.11/site-packages/systemd/journal.py", line 244, in...

[sd_pid_get_unit and related functions](https://man.archlinux.org/man/sd_pid_get_unit.3) provided by sd-login do not use D-Bus and thus seem appropriate for this library. They are "just" string manipulation based on /proc/, but they don't seem...

**Context** - 1 x log server (VM on Apple M2) - 2 x log client (VM on Apple M2) - Using systemd-journal-remote on server (http) - Using systemd-journal-upload on clients...

## Motivation I have a Django web project, which targets Linux server but some team members use MacOS for development. We use `uv` as Python package manager. In the "dependency...