{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/16"}],"enrichment":{"capability":"Sends systemd service notifications (startup completion, status updates, watchdog events) from Python applications to inform systemd about service state changes.","skillfed_tags":["systemd-integration","service-lifecycle"],"use_cases":["Inform systemd when a Python daemon has completed its startup sequence, allowing systemd to mark the service as ready.","Send periodic status messages to systemd that appear in systemctl status output for operational visibility.","Implement watchdog heartbeat notifications to tell systemd the service is still alive and responsive.","Build Python-based system services that integrate cleanly with systemd's service lifecycle and monitoring."],"what_it_does":"sdnotify is a pure Python implementation of systemd's sd_notify protocol, allowing Python services to communicate their state to systemd. It lets you signal when your service has finished startup, send periodic status updates, and report watchdog events\u2014all of which systemd can monitor and act upon. The package is designed to be silent by default on non-systemd systems, so it won't break applications running elsewhere.\n\nThe library provides a single main class, SystemdNotifier, with a notify() method that sends protocol messages to systemd's notification socket. It has no runtime dependencies and works by directly writing to the socket that systemd creates for each service. However, the project is no longer maintained: the last release was in 2017, and there have been no commits since early 2022.","worth_installing":"Yes, if you are writing a Python systemd service on a modern Linux system and need basic sd_notify support. The code is simple and stable for its narrow purpose. However, be aware that the package is abandoned\u2014no updates since 2017\u2014so if systemd's protocol or your Python version diverges significantly, you may need to fork or patch it yourself. For new projects, verify that it still works with your target Python and systemd versions before committing to it."},"id":"sdnotify","links":{"html":"https://skillfed.io/packages/sdnotify","md":"https://skillfed.io/packages/sdnotify.md","pypi":"https://pypi.org/project/sdnotify/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2017-08-02","license_spdx":null,"license_treatment":"permissive","name":"sdnotify","python_support":"unspecified","summary":"A pure Python implementation of systemd's service notification protocol (sd_notify)"},"popularity":{"monthly_downloads":191134,"position":9888,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.3.2"}
