Python wrappers for systemd functionality
Python module for native access to the systemd facilities. Functionality is seperated into a number of modules:
* systemd.journal supports sending of structured messages to the journal and reading journal files,
* systemd.daemon wraps parts of libsystemd useful for writing daemons and socket activation,
* systemd.id128 provides functions for querying machine and boot identifiers and a lists of message identifiers provided by systemd,
* systemd.login wraps parts of libsystemd used to query logged in users and available seats and machines.
- Sources inherited from project security
- Links to devel:languages:python / python-systemd
- Has a link diff
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:redwil:15.4/python-systemd && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
OBS_missing_etc_machine_id.patch | 0000001359 1.33 KB | |
fix_test_reader_this_machine.patch | 0000000999 999 Bytes | |
iso-c-90.patch | 0000000697 697 Bytes | |
python-systemd-234.tar.gz | 0000053900 52.6 KB | |
python-systemd-235.tar.gz | 0000059858 58.5 KB | |
python-systemd.changes | 0000006830 6.67 KB | |
python-systemd.spec | 0000003097 3.02 KB |
Latest Revision
Marcus Meissner (msmeissn)
committed
(revision 3)
- exclude-tests-on-obs.patch: Exclude test which fail because of a bug in the OBS: https://github.com/openSUSE/obs-build/pull/351 - Upgrade to release 234 * _daemon,_reader: return ENOSYS instead of NotImplemented * _daemon: allow specifying flowinfo * Added section for installation on openSUSE & SLE * Adjust import order, spacing, operators as recommended by pylint * build-sys: add sign and upload targets * daemon: add basic support for sd_is_socket_sockaddr * daemon: add wrapper for sd_is_socket_sockaddr and tests * daemon: properly skip sd_is_socket_sockaddr calls if not available * Fix handling of addresses without port and add tests * Fix styling to match PEP8 in most places * Improve test skipping on old systems * Include all fields from record * journal: do not convert extra args to string in JournalHandler * journal: fix repr of JournalHandler to match python3.6 * journal: improve docstring formatting a bit * journal: rename SENDER_FUNCTION to sender_function * Makefile: add "doc" target for convenience * Makefile: add convenience "shell" target to start python shell * Makefile: remove unneeded -I/usr/include from flags * Makefile: use $(INCLUDE_DIR) also for compilation * Prevent non-str values from being concatenated with + * Python 3.6 invalid escape sequence deprecation fixes * Remove mid from JournalHandler * replace dict.iteritems() with dict.items() to support py3 * setup.py: allow LIBSYSTEMD_VERSION to be overridden * test_daemon: xfail test_notify_with_socket if bind() fails * test_journal: add tests for MESSAGE_ID passing
Comments 1
This package does not build any longer for the SLE_* packages because of missing dependencies. All other packages except SLE_* can be disabled. So, please include missing dependencies or remove the package from security and I disable fail2ban for SLE_* packages