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

This code was working on Ubuntu 22.04, with python3-systemd version 234: ```py j = systemd.journal.Reader() j.this_boot() j.log_level(systemd.journal.LOG_INFO) j.add_match(SYSLOG_IDENTIFIER="kernel") # Seek to the end of the journal to only capture new...

My activated python virtual environment is functional and other installations of modules in the environment work without error, but not your module.... ``` (Tally-Echo) root@OBS:~/Tally-Echo# pip3 install systemd-python Collecting systemd-python...

We have a Django project, which is meant to deploy on Linux server, and use `uv` as package manager. But some of our teammates use MacOS in development. One issue...

This PR fixes threaded issues of journal.Reader class and improves its thread-safety, using simple protection with ref-counter; It would avoid segfault by closing journal across threads. The algorithm is simple,...

### Env: ``` $ python3 --version Python 3.11.2 $ systemctl --version systemd 252 (252.36-1~deb12u1) +PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2...

Installing this package with: `pip install systemd-python` On a Debian oldstable (Bullseye), I got an error message very similar to the ones reported in #47 and #97: ``` pip install...

Hi, Do you think it is possible to add the --grep and --case-sensitive options present in versions > 237 within the python lib Thk.

There does not seem to be support for `LOG_NOTICE` or `LOG_EMERG`. Any level higher than `logging.CRITICAL` is mapped to `LOG_ALERT`. I presume there is a reason for this but could...

Type annotations can improve IDE autocompletion and prevent some mistakes