{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/8"}],"enrichment":{"capability":"Wakepy prevents a system from sleeping or locking the screen during long-running tasks, with separate modes for keeping the CPU awake or keeping the display active.","skillfed_tags":["system-control","cross-platform","task-automation"],"use_cases":["Training machine learning models or running long data-processing pipelines that must not be interrupted by system sleep","Video encoding, transcoding, or upscaling tasks that require the system to stay awake for hours","Displaying dashboards, monitoring applications, or videos that require the screen to remain on and unlocked","Web scraping or data archival operations that run unattended overnight or over many hours","Automated hardware control or instrumentation tasks (e.g., knitting machines, scientific instruments) that must complete without interruption"],"what_it_does":"Wakepy is a cross-platform Python library and CLI tool that prevents your system from automatically sleeping, suspending, or locking the screen during long-running tasks. It works on Windows (via SetThreadExecutionState), macOS (via caffeinate), and Linux/Unix systems with GNOME, KDE Plasma, or Freedesktop.org desktop environments. The package offers two main modes: keep.running inhibits sleep and suspend but allows screen lock and screensaver, while keep.presenting also keeps the display active and prevents screen lock.\n\nYou use it either as a decorator or context manager around your code, or invoke it from the command line. It's designed to be non-disruptive\u2014it uses only the system APIs provided for this purpose, never simulates keyboard or mouse input\u2014and safe to crash; killing the process leaves no lingering state. The package has minimal dependencies: on Linux it requires jeepney for D-Bus communication, and on Python 3.9 and earlier it needs typing-extensions; otherwise it has no Python dependencies.","worth_installing":"Yes. Wakepy is actively maintained, has zero known vulnerabilities, minimal dependencies, and a permissive MIT license. It solves a real cross-platform problem using proper system APIs rather than hacks. Install it if you need to prevent sleep or lock during long tasks."},"id":"wakepy","links":{"html":"https://skillfed.io/packages/wakepy","md":"https://skillfed.io/packages/wakepy.md","pypi":"https://pypi.org/project/wakepy/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-02-07","license_spdx":null,"license_treatment":"permissive","name":"wakepy","python_support":"supports_current","summary":"wakelock / keep-awake / stay-awake"},"popularity":{"monthly_downloads":168094,"position":10454,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.0"}
